diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-13 21:24:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-13 21:25:22 +0200 |
commit | a56e84e4c0541e709d85589f87dbe46aa4f507ed (patch) | |
tree | 20acc8f4fbe5cfb593b6e6facffaa0d56a6fa52c /doc/info/chap | |
parent | m info (diff) | |
download | slibc-a56e84e4c0541e709d85589f87dbe46aa4f507ed.tar.gz slibc-a56e84e4c0541e709d85589f87dbe46aa4f507ed.tar.bz2 slibc-a56e84e4c0541e709d85589f87dbe46aa4f507ed.tar.xz |
info style
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/info/chap')
-rw-r--r-- | doc/info/chap/error-reporting.texinfo | 6 | ||||
-rw-r--r-- | doc/info/chap/introduction.texinfo | 16 | ||||
-rw-r--r-- | doc/info/chap/language-facilities.texinfo | 8 |
3 files changed, 15 insertions, 15 deletions
diff --git a/doc/info/chap/error-reporting.texinfo b/doc/info/chap/error-reporting.texinfo index 43e3ccc..46bf875 100644 --- a/doc/info/chap/error-reporting.texinfo +++ b/doc/info/chap/error-reporting.texinfo @@ -31,7 +31,7 @@ described in this chapter. Most functions return a sentinel value when an exceptional condition occurs, typically a negative value (actually @code{-1}), a constant such as -@code{EOF}, or @code{NULL}. This return value only +@code{EOF}, or @code{NULL}@. This return value only tells you that an exeception condition has occurred. @hfindex errno.h @@ -243,7 +243,7 @@ locale. @lvindex LC_GLOBAL_LOCALE The behaviour of this function is undefined -if @code{locale} is @code{LC_GLOBAL_LOCALE}. +if @code{locale} is @code{LC_GLOBAL_LOCALE}@. @item const char* const sys_errlist[] This variable is defined in the header files @@ -288,7 +288,7 @@ program running in the current process. This is the value @code{argv[0]} from the @code{main} function (where @code{argv} is the second parameter.) If @code{argc} (the first parameter) is zero, this -variable will have the value @code{NULL}. This is +variable will have the value @code{NULL}@. This is not necessarily a proper command name. For example, login shells are usually prefixes with a dash, for example @code{-bash}, despite that there is diff --git a/doc/info/chap/introduction.texinfo b/doc/info/chap/introduction.texinfo index 0239d1a..21982f6 100644 --- a/doc/info/chap/introduction.texinfo +++ b/doc/info/chap/introduction.texinfo @@ -13,7 +13,7 @@ library. A C environment with a C standard library is called a hosted environment; one without it is called an unhosted environment. Almost all software written in C are written -in hosted C. There are practically only two +in hosted C@. There are practically only two types of software not written in an unhosted environment, the C standard library (commonly called @command{libc}) implementations @@ -218,7 +218,7 @@ does not been to be compiled with the same @code{libc}. It is important to use this instead of @code{_PORTABLE_SOURCE} in library header files, otherwise the user of the library cannot fully utilise -@code{_PORTABLE_SOURCE}. +@code{_PORTABLE_SOURCE}@. @item _ALL_SOURCE @lvindex _ALL_SOURCE @@ -287,7 +287,7 @@ with C11. @lvindex _POSIX_SOURCE Enables functionality from the @sc{POSIX}.1 standard (@sc{IEEE} Standard 1003.1) as well -as @sc{ISO}@tie{}C. @code{_POSIX_SOURCE} is +as @sc{ISO}@tie{}C@. @code{_POSIX_SOURCE} is automatically enabled if @code{_POSIX_C_SOURCE} is defined and has a positive value. @@ -331,7 +331,7 @@ Note that some @sc{BSD} function conflicts with @lvindex _POSIX_COMPATIBLE_SOURCE To enable the @sc{BSD} functionality that conflicts with @sc{POSIX}.1 functionality, also define -@code{_BSD_COMPATIBLE_SOURCE}. If you however +@code{_BSD_COMPATIBLE_SOURCE}@. If you however prefer to use the @sc{POSIX}.1 functionality, define @code{_POSIX_COMPATIBLE_SOURCE} to suppress warnings about conflicts. These two feature-test macros are @@ -379,16 +379,16 @@ Enables all functionality from @sc{ISO}@tie{}C89, @sc{BSD}, @sc{SVID}, X/Open, @sc{SUS}, the Large File Support extension, and extensions derived from the @sc{GNU} C Libraries. It also -defines @code{_ATFILE_SOURCE}. +defines @code{_ATFILE_SOURCE}@. @lvindex _BSD_SOURCE @sc{POSIX}.1 takes precedence when there are conflicts between @sc{POSIX}.1 and @sc{BSD} -or @sc{SVID}. To override this, define -@code{_BSD_SOURCE}. +or @sc{SVID}@. To override this, define +@code{_BSD_SOURCE}@. @code{_GNU_SOURCE} does not automatically -define @code{_BSD_SOURCE} or @code{_SVID_SOURCE}. +define @code{_BSD_SOURCE} or @code{_SVID_SOURCE}@. @end table @c TODO: _LARGEFILE_SUPPORT diff --git a/doc/info/chap/language-facilities.texinfo b/doc/info/chap/language-facilities.texinfo index 5eb55a3..26cf556 100644 --- a/doc/info/chap/language-facilities.texinfo +++ b/doc/info/chap/language-facilities.texinfo @@ -15,7 +15,7 @@ documented in this chapter. * Member offsets:: Getting the offset of members of a structure. * Variadic functions:: Support for variadic functions. * Assertions:: Checking for impossible errors. -* NULL:: The constant @code{NULL}. +* NULL:: The constant @code{NULL}@. @end menu @@ -192,10 +192,10 @@ defined. Declaring a variable with the qualifier @code{alignas(TYPE)} specifies that the variable -should have the alignment of the type @code{TYPE}. +should have the alignment of the type @code{TYPE}@. The function call @code{alignof(TYPE)}, returns -the alignment of the type @code{TYPE}. +the alignment of the type @code{TYPE}@. @@ -424,7 +424,7 @@ Note on considerations of @code{NULL} being harmful: It is important to remember than @code{sizeof(NULL)} does not equal @code{sizeof(int)} on all machines. Therefore, in variadic arguments, it is important -not to substitute @code{x} for @code{x != NULL}. This +not to substitute @code{x} for @code{x != NULL}@. This would cause horrible bugs. If you insist on not using @code{NULL}, correct substitutions would be @code{!!x} or @code{x != 0}. |