aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/conf.texi9
-rw-r--r--manual/filesys.texi5
-rw-r--r--manual/install.texi4
-rw-r--r--manual/socket.texi14
-rw-r--r--manual/string.texi11
5 files changed, 24 insertions, 19 deletions
diff --git a/manual/conf.texi b/manual/conf.texi
index 34554bc35f..86e29a8e04 100644
--- a/manual/conf.texi
+++ b/manual/conf.texi
@@ -315,10 +315,6 @@ Here are the symbolic constants for use as the @var{parameter} argument
to @code{sysconf}. The values are all integer constants (more
specifically, enumeration type values).
-@c This table runs a bit wide.
-@iftex
-@indexfonts
-@end iftex
@table @code
@comment unistd.h
@comment POSIX.1
@@ -608,7 +604,7 @@ Inquire about the parameter corresponding to @code{_POSIX_TTY_NAME_MAX}.
@comment POSIX.1
@item _SC_THREAD_DESTRUCTOR_ITERATIONS
Inquire about the parameter corresponding to
-@code{_POSIX_THREAD_DESTRUCTOR_@*ITERATIONS}.
+@code{_POSIX_THREAD_DESTRUCTOR_ITERATIONS}.
@comment unistd.h
@comment POSIX.1
@@ -964,9 +960,6 @@ Inquire about the parameter corresponding to @code{NL_SETMAX}.
@item _SC_NL_TEXTMAX
Inquire about the parameter corresponding to @code{NL_TEXTMAX}.
@end table
-@iftex
-@textfonts
-@end iftex
@node Examples of Sysconf
@subsection Examples of @code{sysconf}
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 47f43adfb9..c3ab7c562a 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -86,9 +86,8 @@ Permission to read or search a component of the file name was denied.
@end table
@end deftypefun
-Here is an example showing how you could implement the behavior of GNU's@*
-@w{@code{getcwd (NULL, 0)}} using only the standard behavior of
-@code{getcwd}:
+You could implement the behavior of GNU's @w{@code{getcwd (NULL, 0)}}
+using only the standard behavior of @code{getcwd}:
@smallexample
char *
diff --git a/manual/install.texi b/manual/install.texi
index 0efffde2b5..35e257e7bc 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -406,4 +406,6 @@ doesn't tell you, that's a bug in the manual. Report that too! If the
function's behavior disagrees with the manual, then either the library
or the manual has a bug, so report the disagreement. If you find any
errors or omissions in this manual, please report them to the Internet
-address @email{bug-glibc-manual@@gnu.org}.
+address @email{bug-glibc-manual@@gnu.org}. If you refer to specific
+sections when reporting on the manual, please include the section names
+for easier identification.
diff --git a/manual/socket.texi b/manual/socket.texi
index dcd288b12c..cc8496995d 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -791,8 +791,8 @@ packaged inside a structure of type @code{struct in_addr}. It would
be better if the usage were made consistent, but it is not hard to extract
the integer from the structure or put the integer into a structure.
-The following basic definitions for Internet addresses appear in the
-header file@*@file{netinet/in.h}:
+The following basic definitions for Internet addresses are declared in
+the header file @file{netinet/in.h}:
@pindex netinet/in.h
@comment netinet/in.h
@@ -868,10 +868,10 @@ own variables to this value.
@pindex arpa/inet.h
@noindent
These additional functions for manipulating Internet addresses are
-declared in@*@file{arpa/inet.h}. They represent Internet addresses in
-network byte order; they represent network numbers and
-local-address-within-network numbers in host byte order.
-@xref{Byte Order}, for an explanation of network and host byte order.
+declared in the header file @file{arpa/inet.h}. They represent Internet
+addresses in network byte order; they represent network numbers and
+local-address-within-network numbers in host byte order. @xref{Byte
+Order}, for an explanation of network and host byte order.
@comment arpa/inet.h
@comment BSD
@@ -2718,7 +2718,7 @@ this section.
@pindex sys/socket.h
@noindent
Here is a table of socket-level option names; all are defined in the
-header file@*@file{sys/socket.h}.
+header file @file{sys/socket.h}.
@table @code
@comment sys/socket.h
diff --git a/manual/string.texi b/manual/string.texi
index f33303b356..dd3c68d294 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -1182,6 +1182,12 @@ moving pointer has to be done by the user. Successive calls to
@var{delimiter}, returning the address of the next token and updating
@var{string_ptr} to point to the beginning of the next token.
+If the input string contains more than one character from
+@var{delimiter} in a row @code{strsep} returns an empty string for each
+pair of characters from @var{delimiter}. This means that a program
+normally should test for @code{strsep} returning an empty string before
+processing it.
+
This function was introduced in 4.3BSD and therefore is widely available.
@end deftypefun
@@ -1206,8 +1212,13 @@ token = strsep (&running, delimiters); /* token => "words" */
token = strsep (&running, delimiters); /* token => "separated" */
token = strsep (&running, delimiters); /* token => "by" */
token = strsep (&running, delimiters); /* token => "spaces" */
+token = strsep (&running, delimiters); /* token => "" */
+token = strsep (&running, delimiters); /* token => "" */
+token = strsep (&running, delimiters); /* token => "" */
token = strsep (&running, delimiters); /* token => "and" */
+token = strsep (&running, delimiters); /* token => "" */
token = strsep (&running, delimiters); /* token => "punctuation" */
+token = strsep (&running, delimiters); /* token => "" */
token = strsep (&running, delimiters); /* token => NULL */
@end smallexample