diff options
Diffstat (limited to 'doc/ref/posix.texi')
-rw-r--r-- | doc/ref/posix.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index d26808d91..d4a14ec24 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -162,7 +162,7 @@ environment, setting the revealed count is not required provided the port is kept open (i.e., is pointed to by a live Scheme binding) while the file descriptor is in use. -To correspond with traditional Unix behaviour, three file descriptors +To correspond with traditional Unix behavior, three file descriptors (0, 1, and 2) are automatically imported when a program starts up and assigned to the initial values of the current/standard input, output, and error ports, respectively. The revealed count for each is @@ -414,7 +414,7 @@ descriptor underlying @var{port}, with mode string @var{modes} as for @ref{File Ports, open-file}. The two ports will share a file position and file status flags. -Unexpected behaviour can result if both ports are subsequently used +Unexpected behavior can result if both ports are subsequently used and the original and/or duplicate ports are buffered. The mode string can include @code{0} to obtain an unbuffered duplicate port. @@ -432,7 +432,7 @@ and file status flags. The return value is unspecified. -Unexpected behaviour can result if both ports are subsequently used +Unexpected behavior can result if both ports are subsequently used and the original and/or duplicate ports are buffered. This procedure does not have any side effects on other ports or @@ -1293,7 +1293,7 @@ stream. Otherwise, close the stream. The @code{setpwent} and @deffn {Scheme Procedure} getpw [user] @deffnx {C Function} scm_getpwuid (user) Look up an entry in the user database. @var{user} can be an integer, -a string, or omitted, giving the behaviour of getpwuid, getpwnam +a string, or omitted, giving the behavior of getpwuid, getpwnam or getpwent respectively. @end deffn @@ -1348,7 +1348,7 @@ stream. Otherwise, close the stream. The @code{setgrent} and @deffn {Scheme Procedure} getgr [group] @deffnx {C Function} scm_getgrgid (group) Look up an entry in the group database. @var{group} can be an integer, -a string, or omitted, giving the behaviour of getgrgid, getgrnam +a string, or omitted, giving the behavior of getgrgid, getgrnam or getgrent respectively. @end deffn @@ -1862,7 +1862,7 @@ has terminated or (optionally) stopped. Normally it will suspend the calling process until this can be done. If more than one child process is eligible then one will be chosen by the operating system. -The value of @var{pid} determines the behaviour: +The value of @var{pid} determines the behavior: @table @asis @item @var{pid} greater than 0 |