Module Name: src Committed By: wiz Date: Thu Mar 21 14:48:01 UTC 2024
Modified Files: src/lib/libc/gen: sysconf.3 Log Message: Fix NUL/NULL confusion. One of these was reported by Mouse in PR 58058. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/lib/libc/gen/sysconf.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/gen/sysconf.3 diff -u src/lib/libc/gen/sysconf.3:1.52 src/lib/libc/gen/sysconf.3:1.53 --- src/lib/libc/gen/sysconf.3:1.52 Wed Oct 25 08:19:34 2023 +++ src/lib/libc/gen/sysconf.3 Thu Mar 21 14:48:01 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysconf.3,v 1.52 2023/10/25 08:19:34 simonb Exp $ +.\" $NetBSD: sysconf.3,v 1.53 2024/03/21 14:48:01 wiz Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -86,8 +86,8 @@ The number of clock ticks per second. Return 1 if the File Synchronization Option is available on this system, otherwise \-1. .It Li _SC_HOST_NAME_MAX -The maximum size of a hostname, including -.Dv NULL . +The maximum size of a hostname, including the terminating +.Dv NUL . .It Li _SC_IOV_MAX The maximum number of .Va iovec @@ -103,7 +103,8 @@ or Return 1 if job control is available on this system, otherwise \-1. .It Li _SC_LOGIN_NAME_MAX Returns the size of the storage required for a login name, in bytes, -including the terminating NUL. +including the terminating +.Dv NUL . .It Li _SC_MAPPED_FILES Return 1 if the Memory Mapped Files Option is available on this system, otherwise \-1. @@ -129,8 +130,8 @@ The maximum number of open files per pro .It Li _SC_PAGESIZE The size of a system page in bytes. .It Li _SC_PASS_MAX -The maximum length of the password, not counting -.Dv NULL . +The maximum length of the password, not counting the terminating +.Dv NUL . .It Li _SC_READER_WRITER_LOCKS The version of .St -p1003.1