* manual/charset.texi: Fix typos.  Rephrase.
	* manual/process.texi: Likewise.
	* manual/signal.texi: Likewise.
	Patches by Mike Coleman <mkc@kc.net>.
This commit is contained in:
Ulrich Drepper 2000-03-22 00:10:30 +00:00
parent fd091d3f34
commit bafb8ee92f
4 changed files with 18 additions and 14 deletions

View File

@ -1,5 +1,10 @@
2000-03-21 Ulrich Drepper <drepper@redhat.com> 2000-03-21 Ulrich Drepper <drepper@redhat.com>
* manual/charset.texi: Fix typos. Rephrase.
* manual/process.texi: Likewise.
* manual/signal.texi: Likewise.
Patches by Mike Coleman <mkc@kc.net>.
* libio/oldtmpfile.c: Use new macros from shlib-compat.h to define * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
versions. versions.
* libio/iofdopen.c: Likewise. * libio/iofdopen.c: Likewise.

View File

@ -628,8 +628,8 @@ string pointed to by @var{pwc}. The conversion is performed according
to the locale currently selected for the @code{LC_CTYPE} category. If to the locale currently selected for the @code{LC_CTYPE} category. If
the conversion for the character set used in the locale requires a state the conversion for the character set used in the locale requires a state
the multibyte string is interpreted in the state represented by the the multibyte string is interpreted in the state represented by the
object pointed to by @var{ps}. If @var{ps} is a null pointer an static, object pointed to by @var{ps}. If @var{ps} is a null pointer, a static,
internal state variable used only by the @code{mbrtowc} variable is internal state variable used only by the @code{mbrtowc} function is
used. used.
If the next multibyte character corresponds to the NUL wide character If the next multibyte character corresponds to the NUL wide character
@ -729,7 +729,7 @@ Otherwise the multibyte character sequence is invalid and the return
value is @code{(size_t) -1}. value is @code{(size_t) -1}.
The multibyte sequence is interpreted in the state represented by the The multibyte sequence is interpreted in the state represented by the
object pointer to by @var{ps}. If @var{ps} is a null pointer an state object pointed to by @var{ps}. If @var{ps} is a null pointer, a state
object local to @code{mbrlen} is used. object local to @code{mbrlen} is used.
@pindex wchar.h @pindex wchar.h

View File

@ -63,9 +63,8 @@ possible to create the shell process, and otherwise is the status of the
shell process. @xref{Process Completion}, for details on how this shell process. @xref{Process Completion}, for details on how this
status code can be interpreted. status code can be interpreted.
If the @var{command} argument is a null pointer, a non-zero return value If the @var{command} argument is a null pointer, a return value of zero
indicates that a command processor is available and this function can be indicates that no command processor is available.
used at all.
This function is a cancelation point in multi-threaded programs. This This function is a cancelation point in multi-threaded programs. This
is a problem if the thread allocates some resources (like memory, file is a problem if the thread allocates some resources (like memory, file

View File

@ -187,7 +187,7 @@ When a signal terminates a process, its parent process can determine the
cause of termination by examining the termination status code reported cause of termination by examining the termination status code reported
by the @code{wait} or @code{waitpid} functions. (This is discussed in by the @code{wait} or @code{waitpid} functions. (This is discussed in
more detail in @ref{Process Completion}.) The information it can get more detail in @ref{Process Completion}.) The information it can get
includes the fact that termination was due to a signal, and the kind of includes the fact that termination was due to a signal and the kind of
signal involved. If a program you run from a shell is terminated by a signal involved. If a program you run from a shell is terminated by a
signal, the shell typically prints some kind of error message. signal, the shell typically prints some kind of error message.
@ -1040,15 +1040,15 @@ a handler for @code{SIGKILL} or @code{SIGSTOP}.
@end table @end table
@end deftypefun @end deftypefun
@strong{Compatibility Note:} A problem when working with the @strong{Compatibility Note:} A problem encountered when working with the
@code{signal} function is that it has a different semantic on BSD and @code{signal} function is that it has different semantics on BSD and
SVID system. The difference is that on SVID systems the signal handler SVID systems. The difference is that on SVID systems the signal handler
is deinstalled after an signal was delivered. On BSD systems the is deinstalled after signal delivery. On BSD systems the
handler must be explicitly deinstalled. In the GNU C Library we use the handler must be explicitly deinstalled. In the GNU C Library we use the
BSD version by default. To use the SVID version you can either use the BSD version by default. To use the SVID version you can either use the
function @code{sysv_signal} (see below) or use the @code{_XOPEN_SOURCE} function @code{sysv_signal} (see below) or use the @code{_XOPEN_SOURCE}
feature select macro (@pxref{Feature Test Macros}). Generally it should feature select macro (@pxref{Feature Test Macros}). In general, use of these
be avoided to use this functions due to the compatibility problems. It functions should be avoided because of compatibility problems. It
is better to use @code{sigaction} if it is available since the results is better to use @code{sigaction} if it is available since the results
are much more reliable. are much more reliable.
@ -1082,7 +1082,7 @@ main (void)
@end smallexample @end smallexample
@noindent @noindent
Note how if a given signal was previously set to be ignored, this code Note that if a given signal was previously set to be ignored, this code
avoids altering that setting. This is because non-job-control shells avoids altering that setting. This is because non-job-control shells
often ignore certain signals when starting children, and it is important often ignore certain signals when starting children, and it is important
for the children to respect this. for the children to respect this.