diff options
Diffstat (limited to 'usr/src/lib/libc')
-rw-r--r-- | usr/src/lib/libc/i386/sys/ptrace.c | 4 | ||||
-rw-r--r-- | usr/src/lib/libc/port/gen/crypt.c | 8 | ||||
-rw-r--r-- | usr/src/lib/libc/port/gen/getusershell.c | 2 | ||||
-rw-r--r-- | usr/src/lib/libc/port/gen/isaexec.c | 2 | ||||
-rw-r--r-- | usr/src/lib/libc/port/gen/localtime.c | 6 | ||||
-rw-r--r-- | usr/src/lib/libc/port/locale/gb18030.c | 2 | ||||
-rw-r--r-- | usr/src/lib/libc/port/regex/regex.c | 4 | ||||
-rw-r--r-- | usr/src/lib/libc/port/stdio/README.design | 2 | ||||
-rw-r--r-- | usr/src/lib/libc/port/sys/epoll.c | 2 | ||||
-rw-r--r-- | usr/src/lib/libc/port/threads/door_calls.c | 2 | ||||
-rw-r--r-- | usr/src/lib/libc/sparc/sys/ptrace.c | 2 |
11 files changed, 16 insertions, 20 deletions
diff --git a/usr/src/lib/libc/i386/sys/ptrace.c b/usr/src/lib/libc/i386/sys/ptrace.c index c4ecdd34f4..13865136b5 100644 --- a/usr/src/lib/libc/i386/sys/ptrace.c +++ b/usr/src/lib/libc/i386/sys/ptrace.c @@ -25,11 +25,9 @@ */ /* - * ptrace(2) interface built on top of proc(4). + * ptrace(2) interface built on top of proc(5). */ -#pragma ident "%Z%%M% %I% %E% SMI" - #pragma weak _ptrace = ptrace #include "lint.h" diff --git a/usr/src/lib/libc/port/gen/crypt.c b/usr/src/lib/libc/port/gen/crypt.c index 812062644f..016da3202a 100644 --- a/usr/src/lib/libc/port/gen/crypt.c +++ b/usr/src/lib/libc/port/gen/crypt.c @@ -128,7 +128,7 @@ static char *_unix_crypt_gensalt(char *gsbuffer, size_t gsbufflen, * This function encodes strings in a suitable for for secure storage * as passwords. It generates the password hash given the plaintext and salt. * - * If the first character of salt is "$" then we use crypt.conf(4) to + * If the first character of salt is "$" then we use crypt.conf(5) to * determine which plugin to use and run the crypt_genhash_impl(3c) function * from it. * Otherwise we use the old unix algorithm. @@ -166,7 +166,7 @@ crypt(const char *plaintext, const char *salt) /* * Find the algorithm name from the salt and look it up in - * crypt.conf(4) to find out what shared object to use. + * crypt.conf(5) to find out what shared object to use. * If we can't find it in crypt.conf then getalgbyname would * have returned with found = B_FALSE so we use the unix algorithm. * If alg is NULL but found = B_TRUE then there is a problem with @@ -472,12 +472,12 @@ alg_valid(const char *algname, const struct crypt_policy_s *policy) } /* - * getalgbyname - read crypt.conf(4) looking for algname + * getalgbyname - read crypt.conf(5) looking for algname * * RETURN VALUES * On error NULL and errno is set * On success the alg details including an open handle to the lib - * If crypt.conf(4) is okay but algname doesn't exist in it then + * If crypt.conf(5) is okay but algname doesn't exist in it then * return NULL the caller should then use the default algorithm * as per the policy. */ diff --git a/usr/src/lib/libc/port/gen/getusershell.c b/usr/src/lib/libc/port/gen/getusershell.c index df10f2f6fd..c744828a8a 100644 --- a/usr/src/lib/libc/port/gen/getusershell.c +++ b/usr/src/lib/libc/port/gen/getusershell.c @@ -134,7 +134,7 @@ initshells(void) return ((char **)okshells); /* * The +1 in the malloc() below is needed to handle the final - * fgets() NULL terminator. From fgets(3S): + * fgets() NULL terminator. From fgets(3C): * * char *fgets(char *s, int n, FILE *stream); * diff --git a/usr/src/lib/libc/port/gen/isaexec.c b/usr/src/lib/libc/port/gen/isaexec.c index c3807ead39..5db6ccf29a 100644 --- a/usr/src/lib/libc/port/gen/isaexec.c +++ b/usr/src/lib/libc/port/gen/isaexec.c @@ -57,7 +57,7 @@ isaexec(const char *execname, char *const *argv, char *const *envp) int saved_errno; /* - * Extract the isalist(5) for userland from the kernel. + * Extract the isalist(7) for userland from the kernel. */ isalist = malloc(isalen); do { diff --git a/usr/src/lib/libc/port/gen/localtime.c b/usr/src/lib/libc/port/gen/localtime.c index 65c202821d..a2cb012c46 100644 --- a/usr/src/lib/libc/port/gen/localtime.c +++ b/usr/src/lib/libc/port/gen/localtime.c @@ -79,8 +79,8 @@ * * A zoneinfo timezone is a reference to a file that contains a set of * rules that describe the timezone. In Solaris, the file is in - * /usr/share/lib/zoneinfo. The file is generated by zic(1M), based - * on zoneinfo rules "source" files. This is all described on the zic(1M) + * /usr/share/lib/zoneinfo. The file is generated by zic(8), based + * on zoneinfo rules "source" files. This is all described on the zic(8) * man page. */ @@ -1410,7 +1410,7 @@ posix_daylight(long long *janfirst, int year, posix_daylight_t *pdaylightp) /* * Try to load zoneinfo file into internal transition tables using name - * indicated in TZ, and do validity checks. The format of zic(1M) + * indicated in TZ, and do validity checks. The format of zic(8) * compiled zoneinfo files isdescribed in tzfile.h */ static int diff --git a/usr/src/lib/libc/port/locale/gb18030.c b/usr/src/lib/libc/port/locale/gb18030.c index 3901270a8d..920da0a97e 100644 --- a/usr/src/lib/libc/port/locale/gb18030.c +++ b/usr/src/lib/libc/port/locale/gb18030.c @@ -29,7 +29,7 @@ /* * PRC National Standard GB 18030-2000 encoding of Chinese text. * - * See gb18030(5) for details. + * See gb18030(7) for details. */ #include "lint.h" diff --git a/usr/src/lib/libc/port/regex/regex.c b/usr/src/lib/libc/port/regex/regex.c index 769761daef..6e4c86e17e 100644 --- a/usr/src/lib/libc/port/regex/regex.c +++ b/usr/src/lib/libc/port/regex/regex.c @@ -27,8 +27,6 @@ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * IMPORTANT NOTE: * @@ -328,7 +326,7 @@ regex(const char *regexp, const char *stringp, ...) * * NOTE: * - * According to manual page regcmp(3G), regex() returns substrings + * According to manual page regcmp(3C), regex() returns substrings * that match subexpressions even when no substring matches the * entire regular expression. */ diff --git a/usr/src/lib/libc/port/stdio/README.design b/usr/src/lib/libc/port/stdio/README.design index 748f7f9913..80305bf22b 100644 --- a/usr/src/lib/libc/port/stdio/README.design +++ b/usr/src/lib/libc/port/stdio/README.design @@ -266,7 +266,7 @@ Extended File and fileno() The 32-bit libc has historically been limited to 255 open streams because of the use of an unsigned char. This problem does not impact the 64-bit libc. To deal with this, libc uses a series of techniques which -are summarized for users in extendedFILE(5). The usage of extendedFILE +are summarized for users in extendedFILE(7). The usage of extendedFILE can also be enabled by passing the special 'F' character to fopen(3C). The '_magic' member in the 32-bit 'struct __FILE_TAG' contains what used diff --git a/usr/src/lib/libc/port/sys/epoll.c b/usr/src/lib/libc/port/sys/epoll.c index 230860d391..d497856083 100644 --- a/usr/src/lib/libc/port/sys/epoll.c +++ b/usr/src/lib/libc/port/sys/epoll.c @@ -68,7 +68,7 @@ /* * The defined behavior for epoll_wait/epoll_pwait when using a timeout less * than 0 is to wait for events until they arrive (or interrupted by a signal). - * While poll(7d) operates in this manner for a timeout of -1, using other + * While poll(4D) operates in this manner for a timeout of -1, using other * negative values results in an immediate timeout, as if it had been set to 0. * For that reason, negative values are clamped to -1. */ diff --git a/usr/src/lib/libc/port/threads/door_calls.c b/usr/src/lib/libc/port/threads/door_calls.c index baa1f573aa..87124a6a37 100644 --- a/usr/src/lib/libc/port/threads/door_calls.c +++ b/usr/src/lib/libc/port/threads/door_calls.c @@ -809,7 +809,7 @@ door_server_create(door_server_func_t *create_func) /* * Thread start function for door_create_server() below. - * Create door server threads with cancellation(5) disabled. + * Create door server threads with cancellation(7) disabled. */ static void * door_create_func(void *arg) diff --git a/usr/src/lib/libc/sparc/sys/ptrace.c b/usr/src/lib/libc/sparc/sys/ptrace.c index 796e0dac5c..0153088f0f 100644 --- a/usr/src/lib/libc/sparc/sys/ptrace.c +++ b/usr/src/lib/libc/sparc/sys/ptrace.c @@ -25,7 +25,7 @@ */ /* - * ptrace(2) interface built on top of proc(4). + * ptrace(2) interface built on top of proc(5). */ |