Corrigendum: U053
Date: June 2001
Document: C435
System Interfaces and Headers, Issue 4, Version 2
Code: 12664 06/01 C435/U053
Contents: This corrigendum incorporates:
U044 (December 1999)
U013 (March 1996)
----------------------------------------------------------------------------
Change Number: U053/1
On the catgets() manual page (Page 73):
Add the following new error to the ERRORS section for the catgets()
function between the entries for [EBADF] and [EINTR]:
[EBADMSG] The message identified by set_id and msg_id in the
specified message catalog did not satisfy
implementation-dependent security criteria.
On Page 74, add the following new sentence in the first paragraph of
the DESCRIPTION of catopen() following the sentence starting with "If
NLSPATH does not exist".
If NLSPATH exists in the environment when the process starts, then
if the process has appropriate privileges, the behavior of
catopen() is undefined.
----------------------------------------------------------------------------
Start of Corrigendum U044 (December 199).
----------------------------------------------------------------------------
Change Number: U044/1
On the strftime() manual page (Page 605):
Change the %V description from:
"Otherwise, it is week 53 of the previous year, and the next
week is week 1."
to:
"Otherwise, it is the last week of the previous year, and the next
week is week 1. "
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Start of Corrigendum U013 (March 1996).
----------------------------------------------------------------------------
Change Number: U013/1
On the manual page (Page 864), after the declaration of
struct timeval ut_tv, add the text "The timeval structure is defined
as described in . Inclusion of the header may
also make visible all symbols from ."
On the manual page (Page 813), after the references to
uid_t and gid_t, add the text "The uid_t and gid_t types are defined
through typedef as described in ."
On the manual page (Page 825), after the reference
to id_t, add the text "The id_t type is defined through typedef as
described in ."
On the manual page (Page 784), after the reference to
mode_t, add the text "The mode_t type is defined through typedef as
described in ."
On the manual page (Page 812), after the reference
to size_t, add the text "The size_t type is defined through typedef
as described in ."
On the manual page (Page 864), after the reference to
pid_t, add the text "The pid_t type is defined through typedef as
described in ."
----------------------------------------------------------------------------
Change Number: U013/2
On the manual page (Page 867), remove the prototypes of
the functions getws() and putws().
----------------------------------------------------------------------------
Change Number: U013/3
On the manual page (Page 768), change the function prototype
for dirname to "char *dirname(char *);".
----------------------------------------------------------------------------
Change Number: U013/4
On the manual page (Page 768), change the function prototype
for basename to "char *basename(char *);".
----------------------------------------------------------------------------
Change Number: U013/5
On the putmsg() manual page (Page 447), delete the text that
reads "The STREAM head guarantees that the control part of a
message generated by putmsg() is at least 64 bytes in length."
----------------------------------------------------------------------------
Change Number: U013/6
On the chmod() manual page (Page 84), after the section that describes
the behaviour when the S_ISVTX bit is set, add the following: "If
the S_ISVTX bit is set on a non-directory file, the behaviour is
unspecified."
----------------------------------------------------------------------------
Change Number: U013/7
On the mmap() manual page (Page 398), change the third full paragraph
to read "Manipulation of the mapped file to be changed. If the size
of the mapped file changes after the call to mmap() as a result of
some other operation on the mapped file, the effect of references to
portions of the mapped region that correspond to added or removed
portions of the file is unspecified."
----------------------------------------------------------------------------
Change Number: U013/8
On the closelog() manual page (Page 95), add to the description of
setlogmask() "A call to openlog is not required prior to calling
setlogmask()."
----------------------------------------------------------------------------
Change Number: U013/9
On the nftw() manual page (Page 416), change the description of the
depth parameter to read "The argument depth sets the maximum number
of file descriptors that will be used by nftw() while traversing the
file tree. At most one file descriptor will be used for each directory
level."
----------------------------------------------------------------------------
Change Number: U013/10
On the regcmp() manual page (Page 472), change the description of
the $ symbol to read "Matches the end of the string; The character
sequence \n within a string, matches a newline."
----------------------------------------------------------------------------
Change Number: U013/11
In Section 2.2.2, change the identifier table entry for
to read "si_, W[A-Z], P_".
In Section 2.2.2, change the macro table entry for to
delete the P_ entry.
----------------------------------------------------------------------------
Change Number: U013/12
On the initstate() manual page (Page 300):
- change paragraph 5 of the DESCRIPTION "values smaller than 8"
to "values greater than or equal to 8 or less than 32".
- change paragraph 7 of the DESCRIPTION "size < 8" to "size >= 8 and <32"
In the RETURN VALUE section add "If initstate() is called with size
less than 8, it returns NULL"
----------------------------------------------------------------------------
Change Number: U013/13
Change the dbm_clearerr() manual page (Page 110) from "The open_flags
argument has the same meaning ... access." to "The open_flags argument
has the same meaning as the flags argument of open() except that a
database opened for write-only access opens the files for read and
write access and the behaviour of the O_APPEND flag is unspecified."
----------------------------------------------------------------------------
Change Number: U013/14
Change the setregid() manual page (Page 530) from "A non-privileged
process...ID." to "A non-privileged process can set either the real
group ID to the saved set-group-ID from exec*(), or the effective
group ID to the saved set-group-ID or the real group ID."
----------------------------------------------------------------------------
Change Number: U013/15
Change the signal() manual page (Page 563), RETURN VALUE section, by
inserting before the last paragraph the following text "The function
sigpause() suspends execution of the process until a signal is
received, whereupon it returns -1 and sets errno to EINTR."
----------------------------------------------------------------------------
Change Number: U013/16
On the manual page (Page 794), remove the prototype of
the sigmask() function.
----------------------------------------------------------------------------
Change Number: U013/17
On the sigaction() manual page (Page 545), in the table of
non-interruptible functions, add [UX] sigset() and sigpause() [UX].
----------------------------------------------------------------------------
Change Number: U013/18
On the signal() manual page (Page 563), change the description of
sigpause() to read "The sigpause() function removes sig from the
calling process' signal mask and suspends the calling process until
a signal is received. The sigpause() function restores the process'
signal mask to its original state before returning."
----------------------------------------------------------------------------
Change Number: U013/19
On the manual page (Page 794), change the description of
the sa_sigaction member of the sigaction structure to read "pointer to
signal handler function or one of the macros SIG_IGN or SIG_DFL".
----------------------------------------------------------------------------
Change Number: U013/20
On the getrlimit() manual page (Page 269), add APPLICATION USAGE: "If
a process attempts to set the hard limit or soft limit for
RLIMIT_NOFILE to less than the value of _POSIX_OPEN_MAX from
unexpected behaviour may occur."
----------------------------------------------------------------------------
Change Number: U013/21
On the manual page (Page 794) in the table describing
signals and their default actions, change the default action of
SIGURG from (i) to (iii).
----------------------------------------------------------------------------
Change Number: U013/22
Change the sigaction() manual page (Page 545), APPLICATION USAGE, seventh
paragraph from uncontext_t to ucontext_t.
----------------------------------------------------------------------------
Change Number: U013/23
Change the mmap() manual page (Page 398), DESCRIPTION, sixteenth paragraph
from:
"The implementation always zero-fills any partial page at the end
of a memory region. Further, the implementation never writes out
any modified portions of the last page of a file that are
beyond the end of the mapped portion of the file."
to:
"The implementation always zero-fills any partial page at the end
of the file. Further, the implementation never writes out
any modified portions of the last page of a file that are
beyond the end of the file."
----------------------------------------------------------------------------
Change Number: U013/24
Change the manual page (Page 786) description for POLLIN to
say "the same effect as" and not "the same value as".
----------------------------------------------------------------------------
Change Number: U013/25
Change the close() manual page (Page 92), DESCRIPTION, eighth
paragraph to:
"If fildes refers to the master side of a pseudo-terminal and this is
the last close, a SIGHUP signal is sent to the process group ..."
----------------------------------------------------------------------------
Change Number: U013/26
Change the makecontext() manual page (Page 377) from:
The makecontext() and swapcontext() functions will fail if:
ENOMEM The ucp argument does not have enough stack left to complete
the operation.
to:
The swapcontext() function will fail if:
ENOMEM The ucp argument does not have enough stack left to complete
the operation.
----------------------------------------------------------------------------
Change Number: U013/27
On the strlen() manual page (Page 608), correct the RETURN VALUE:
"The strlen() function returns the length of s; no return value
is reserved to indicate an error."
On the strspn() manual page (Page 618), correct the RETURN VALUE:
"The strspn() function returns the length of s1; no return value
is reserved to indicate an error."
On the strcspn() manual page (Page 598), correct the RETURN VALUE:
"The strcspn() function returns the length of s1; no return value
is reserved to indicate an error."
On the wcscspn() manual page (Page 713), correct the RETURN VALUE:
"The wcscspn() function returns the length of ws1; no return value
is reserved to indicate an error."
On the wcsspn() manual page (Page 721), correct the RETURN VALUE:
"The wcsspn() function returns the length of ws1; no return value
is reserved to indicate an error."
----------------------------------------------------------------------------
Change Number: U013/28
On the regexp() manual page (Page 480) change the SYNOPSIS from:
#define PEEK() peek code
to:
#define PEEKC() peekc code
----------------------------------------------------------------------------
Change Number: U013/29
On the strftime() manual page (Page 605), change the %OV conversion
specifier to be consistent with %V and refer to Monday as the first
day of the week.