/manual/ |
A D | README.pretty-printers | 5 information about a program's variables. For example, for a pthread_mutex_t 39 Before printing a value, gdb will first check if there's a pretty printer 48 our variable's type matches the regexp '^pthread_mutex_t$'. 85 the expected printer's. 94 (Remember to share the build system's filesystem with the glibc host's through 109 'gen-py-const-headers' variable in your submodule's Makefile (without the .pysym 116 to the 'pretty-printers' variable in your submodule's Makefile (without the .py 128 in your submodule's Makefile (without extensions). In addition, for each test 137 its name to the 'tests-printers-libs' variable in your submodule's Makefile. 148 * There's no guarantee that the information the pretty printers provide is [all …]
|
A D | summary.pl | 175 my ($e, $s, $h) 177 push @{$standardsx{$e}{hs}}, [$h, $s]; 184 my ($s, $h); 188 $s = $standardsx{$e}{hs}[$j]->[1]; 189 &record_entry($e, $p, $h, $s, $node); 198 ($s, $h) = $standards->[$j] =~ /${std}([^,]+), ([^,\}]+)\}$/; 199 &record_entry($e, $p, $h, $s, $node);
|
A D | time.texi | 493 calendar time, ignoring discontinuous changes to the system's 851 @c Linux, it's implemented in terms of adjtimex. On other unixen, it's 1043 user's specified time zone. 1544 locale's alternative calendar. 1657 @item %s 1980 The locale's representation of the period. 2090 @item %s 2164 The date using the locale's date format. 2170 The time using the locale's time format. 2390 If no date is given tomorrow's date is used if the time is [all …]
|
A D | texis.awk | 7 for (s = 0; s >= 0; s--) 9 while ((getline < input[s]) > 0) 17 close(input[s]);
|
A D | string.texi | 230 @deftypefun size_t strlen (const char *@var{s}) 318 @code{(strlen (@var{s}) < @var{maxlen} ? strlen (@var{s}) : @var{maxlen})} 321 long as @var{maxlen} does not exceed the size of @var{s}'s array. 752 for (const char *s = str; s != NULL; s = va_arg (ap, const char *)) 753 total += strlen (s); 763 for (s = str; s != NULL; s = va_arg (ap2, const char *)) 764 strcat (result, s); 798 for (const char *s = str; s != NULL; s = va_arg (ap, const char *)) 800 size_t len = strlen (s); 1818 s += strlen (s); [all …]
|
A D | texinfo.tex | 659 % above. But it's pretty close. 1834 % older pdftex's; it's easy to conditionalize, so we do.) 4108 % that's the theory. 4156 % It's a letter. 4647 % variable's value contains other Texinfo commands, it's almost certain 6033 % Let's start with @part. 8786 % variable, now it's official. 10129 \gdefchar^^a8{\v s} 10162 \gdefchar^^b6{\'s} 10165 \gdefchar^^b9{\v s} [all …]
|
A D | stdio.texi | 1022 @deftypefun int puts (const char *@var{s}) 1876 @item @samp{%s} 2249 printf ("%3s%-6s", "no", "where"); 2274 fprintf (stderr, "can't open `%s': %s\n", filename, strerror (errno)); 2316 printf ("%d %s%n\n", 3, "bears", &nchar); 2435 @var{s} may be a null pointer. 2456 int buflen = snprintf (buffer, size, "value of %s is %s", 2471 snprintf (buffer, size, "value of %s is %s", 2520 if (asprintf (&result, "value of %s is %s", name, value) < 0) 2731 eprintf ("file `%s' does not exist\n", filename); [all …]
|
A D | filesys.texi | 5 This chapter describes @theglibc{}'s functions for manipulating 25 * Renaming Files:: Changing a file's name. 1586 The @code{rename} function is used to change a file's name. 1807 The user ID of the file's owner. @xref{File Owner}. 1904 The user ID of the file's owner. @xref{File Owner}. 2260 @deftypefn Macro int S_TYPEISMQ (struct stat *@var{s}) 2268 @deftypefn Macro int S_TYPEISSEM (struct stat *@var{s}) 2276 @deftypefn Macro int S_TYPEISSHM (struct stat *@var{s}) 2339 Only privileged users or the file's owner can change the file's group. 2575 specified by the individual user's own file creation mask. [all …]
|
A D | startup.texi | 22 broader definition; it can refer for example to a system's kernel, an 33 This chapter looks at program startup from the execee's point of view. To 34 see the event from the execor's point of view, see @ref{Executing a File}. 94 @var{envp} gives the program's environment; it is the same as the value 201 @c Getopt and argp start at the @section level so that there's 209 @c This is a @section so that it's at the same level as getopt and argp 507 This is a string representing the user's @dfn{home directory}, or 513 look up the user's name in the user database (@pxref{User Database}). 832 @var{status} is the program's exit status, which becomes part of the 935 applications call the library's cleanup functions explicitly before [all …]
|
A D | locale.texi | 13 to adapt to the user's favorite conventions. In @w{ISO C}, 83 For example, the library can't automatically translate your program's 598 * The Lame Way to Locale Data:: ISO C's @code{localeconv}. 599 * The Elegant and Fast Way:: X/Open's @code{nl_langinfo}. 1013 the then-emperor's reign. 1173 i18n_time_n_data (char *s, size_t len, const struct tm *tp) 1175 return strftime (s, len, "%X %D", tp); 1187 i18n_time_n_data (char *s, size_t len, const struct tm *tp) 1189 return strftime (s, len, nl_langinfo (D_T_FMT), tp); 1303 Use the locale's rules for formatting a national currency value. [all …]
|
A D | debug.texi | 41 @c correctly, so it's AS-Unsafe to begin with. However, most (all?) 42 @c arches defer to libgcc_s's _Unwind_* implementation, dlopening 44 @c libgcc_s's implementation may in turn defer to libunwind. We can't 46 @c could, our own initialization path isn't, and libgcc's implementation 75 @c @asucorrupt? It doesn't look like the dynamic loader's data
|
A D | charset.texi | 762 mbslen (const char *s) 773 s += nbytes; 792 character string @var{s} using 871 @var{s}. 908 char *wp = strchr (s, '\0'); 909 len -= wp - s; 930 return s; 1547 scan_string (char *s) 1549 int length = strlen (s); 1556 int thischar = mblen (s, length); [all …]
|
A D | users.texi | 7 says which user's access permissions it has. 308 @c mark it with SETXID_BITMASK if it's not exiting 819 on the user's @code{PATH} environment variable). 1018 The user's login name. 1060 This macro is used to identify the system's runlevel. 1482 The user's login name. 1507 This macro is used to identify the system's runlevel. 1764 The user's login name. 1775 The user's default group ID number. 2159 @c ** resolv's res_maybe_init not called here [all …]
|
A D | argp.texi | 278 group. In this usage, it's conventional to end the string with a 289 number of the previous entry, or zero if it's the first one. If it's a 349 that are completely documented in an argp's @code{args_doc} 354 @samp{-x} option's purpose is to distinguish these two cases, @samp{-x} 380 @var{key} from that option's @code{key} field in the option 480 Here's an example that uses both, for different args: 507 Because it's common to do some special processing if there aren't any 634 in the this parser's @code{children} field. @xref{Argp Children}. 894 the parent argp parser(s), or the earlier of the argp parsers in the 1063 @code{argp_error}. @xref{Argp Helper Functions}. However, if it's [all …]
|
A D | fdl-1.3.texi | 59 publishers or authors of the Document to the Document's overall 111 the text near the most prominent appearance of the work's title, 153 Document's license notice requires Cover Texts, you must enclose the 229 and required Cover Texts given in the Document's license notice. 279 list of Invariant Sections in the Modified Version's license notice. 298 The author(s) and publisher(s) of the Document do not by this License 348 of the compilation's users beyond what the individual works permit. 355 the entire aggregate, the Document's Cover Texts may be placed on 428 License can be used, that proxy's public statement of acceptance of a
|
A D | errno.texi | 560 The kernel's buffers for I/O operations are all in use. In GNU, this 666 The user's disk quota was exceeded. 1161 overwritten. (But it's guaranteed that no library function ever calls 1191 @c Besides strerror_r's and some of fprintf's issues, if stderr is not 1243 such a program should start with the program's name, sans directories. 1250 This variable's value is the name that was used to invoke the program 1260 This variable's value is the name that was used to invoke the program 1306 fprintf (stderr, "%s: Couldn't open file %s; %s\n", 1376 @c one of the two variables is modified. After that, it's very much 1462 "some error text %s", some_variable); [all …]
|
A D | message.texi | 2 @c %MENU% How to make the program speak the user's language 5 The program's interface with the user should be designed to ease the user's 6 task. One way to ease the user's task is to use messages in whatever 62 This means for the author of the program that s/he will have to make 139 Instead it is a format string (similar to @code{printf}'s). An example 547 number of C preprocessor @code{#define}s to associate a name with a 552 output file the possibly existing symbols from the file(s) which 1210 printf ("%d file%s deleted", n, n == 1 ? "" : "s"); 1239 (appending an `s') is hardly found in German. 1562 recommended that all @var{msgid}s be US-ASCII strings. [all …]
|
A D | resource.texi | 28 @c On HURD, this calls task_info 3 times. On UNIX, it's a syscall. 304 This parameter is a guide for the system's scheduler and memory 746 @var{policy} is not @code{SCHED_OTHER} (or it's negative and the 819 This function sets a task's absolute priority. 824 @c in fact, that's how it's implemented in Linux. 833 This function returns a task's absolute priority. 930 This function voluntarily gives up the task's claim on the CPU. 941 If there are no other tasks that share the calling task's absolute 989 absolute priority 0 does not run. If it's already running when the 1007 it's ready for it, to finish out its time slice. Other than that, [all …]
|
A D | memory.texi | 42 page of all zeroes sometimes has nothing at all backing it -- there's 362 @c arena's, for being just-mmapped memory. 1394 @c It's not clear whether to document them. 1447 space's data segment). 2081 char *s = (char *) obstack_alloc (&string_obstack, len); 2082 memcpy (s, string, len); 2083 return s; 2355 length---there's no telling what will happen if you do that. 2517 To access an obstack's alignment boundary, use the macro 2798 Let's change @code{open2} (@pxref{Alloca Example}) to use this [all …]
|
A D | signal.texi | 248 broken in some way, and there's usually no way to continue the 374 enough outside to be detected by the system's memory protection 424 which might be emulated in software, or the operating system's 677 A process cannot read from the user's terminal while it is running 1190 It's possible to use both the @code{signal} and @code{sigaction} 1500 /* @r{Now reraise the signal. We reactivate the signal's} 1618 @code{signal} automatically sets the signal's action back to 1672 /* @r{Nonzero means some child's status has changed} 1985 that's not all it can do! On most machines, it takes several 2365 to a child process even if the user ID's don't match, and other [all …]
|
A D | lang.texi | 29 When you're writing a program, it's often a good idea to put in checks 55 Verify the programmer's belief that @var{expression} is nonzero at 129 be carried out. What's more, your program should not abort when given 263 definition. Furthermore, this argument's type must be 736 It's equal to @code{SCHAR_MIN} if @code{char} is signed, or zero 743 It's equal to @code{SCHAR_MAX} if @code{char} is signed, or 834 the machine's floating point representation. 1130 macro's value is the same as the type it describes. 1145 macro's value is the same as the type it describes. 1172 754-1985)}. Nearly all computers designed since the 1980s use this [all …]
|
A D | maint.texi | 116 It's sometimes necessary to provide nonstandard, platform-specific 155 Each header file's name should include the platform name, to avoid 215 which is usually the 32-bit symbol's name with @code{__} (a double 231 the symbol's name. For instance, the macro @code{__clock_gettime64} 360 to look for a system-dependent version of a file that's not in 383 in the specific system's subdirectory. 488 manufacturer's name, and the operating system. @file{configure} uses 641 @c but there's no point including it as it stands. --rms 646 @c It's not anymore true. glibc 2.1 cannot be used with K&R compilers.
|
A D | job.texi | 43 commands from the user's terminal and create processes to execute the 79 session leader is the process running the user's login shell. 103 @code{SIGSTOP} signal. It's the responsibility of the shell to notice 641 Now let's consider what actions must be taken by the shell when it 667 Here is the sample shell's function for doing all of this. 699 /* @r{Restore the shell's terminal modes.} */ 851 fprintf (stderr, "%ld (%s): %s\n", (long)j->pgid, status, j->command); 918 This leaves only a function for updating the shell's internal bookkeeping 970 Initialize the shell's internal state. @xref{Initializing the 1026 @c string. It's not clear we want to commit to being MT-Safe in the [all …]
|
A D | search.texi | 283 only be achieved if few collisions exist. See Knuth's ``The Art of 320 @code{hdestroy} s/he has to free all element's data using this list. 387 @c let's make it absolutely clear that ensuring exclusive access is a 392 @c data structure was initialized, and there's a function call (calloc) 396 @c interface barrier, so let's consider this could happen and mark this 397 @c with @acucorrupt. It's no safety loss, since we already have 423 @c free(). Using the table in a handler while it's being released would 432 @code{hdestroy} it is the program's responsibility to free the strings
|
/manual/examples/ |
A D | mbstouwcs.c | 9 mbstouwcs (const char *s) in mbstouwcs() argument 12 size_t len = strlen (s) + 1; in mbstouwcs() 24 size_t nbytes = mbrtowc (&wc, s, len, &state); in mbstouwcs() 49 s += nbytes; in mbstouwcs()
|