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 | |
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')
-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 | ||||
-rw-r--r-- | doc/info/fdl.texinfo | 2 | ||||
-rw-r--r-- | doc/info/gpl.texinfo | 12 |
5 files changed, 22 insertions, 22 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}. diff --git a/doc/info/fdl.texinfo b/doc/info/fdl.texinfo index cb71f05..9c3bbe5 100644 --- a/doc/info/fdl.texinfo +++ b/doc/info/fdl.texinfo @@ -97,7 +97,7 @@ format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and -JPG. Opaque formats include proprietary formats that can be +JPG@. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, diff --git a/doc/info/gpl.texinfo b/doc/info/gpl.texinfo index 97a17e1..c773b1d 100644 --- a/doc/info/gpl.texinfo +++ b/doc/info/gpl.texinfo @@ -623,14 +623,14 @@ later version. @item Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +APPLICABLE LAW@. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ``AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND -PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE +A PARTICULAR PURPOSE@. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU@. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR -CORRECTION. +CORRECTION@. @item Limitation of Liability. @@ -642,7 +642,7 @@ ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER -PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES@. @item Interpretation of Sections 15 and 16. @@ -680,7 +680,7 @@ your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE@. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License |