/manual/examples/ |
A D | mkdirent.c | 35 struct dirent *result = malloc (total_size); in mkdirent() local 36 if (result == NULL) in mkdirent() 38 result->d_type = DT_UNKNOWN; in mkdirent() 39 result->d_ino = 1; /* Do not skip this entry. */ in mkdirent() 40 memcpy (result->d_name, name, name_length + 1); in mkdirent() 41 return result; in mkdirent()
|
A D | mbstouwcs.c | 13 wchar_t *result = reallocarray (NULL, len, sizeof (wchar_t)); in mbstouwcs() local 14 if (result == NULL) in mbstouwcs() 17 wchar_t *wcp = result; in mbstouwcs() 35 free (result); in mbstouwcs() 41 free (result); in mbstouwcs() 52 return result; in mbstouwcs()
|
A D | search.c | 80 struct critter target, *result; in find_critter() local 82 result = bsearch (&target, muppets, count, sizeof (struct critter), in find_critter() 84 if (result) in find_critter() 85 print_critter (result); in find_critter()
|
A D | timeval_subtract.c | 23 timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y) in timeval_subtract() argument 39 result->tv_sec = x->tv_sec - y->tv_sec; in timeval_subtract() 40 result->tv_usec = x->tv_usec - y->tv_usec; in timeval_subtract()
|
/manual/ |
A D | dynlink.texi | 29 result data to the caller. 87 @deftypefun {int} _dl_find_object (void *@var{address}, struct dl_find_object *@var{result}) 91 surrounding the address to @code{*@var{result}}. On failure, -1 is 102 @code{@var{result}->dlfo_map_start} and less than 103 @code{@var{result}->dlfo_map_end}, that is, the supplied code address is 108 @code{@var{result}->dlfo_eh_frame}. If the platform uses DWARF 112 the function still returns 0, but sets @code{@var{result}->dlfo_eh_frame} 119 (through @code{@var{result}->dlfo_link_map}) is not safe. Therefore, the
|
A D | arith.texi | 168 result in a structure of type @code{div_t}. 176 div_t result; 177 result = div (20, -6); 181 Now @code{result.quot} is @code{-3} and @code{result.rem} is @code{2}. 562 occurs the result depends on the sign of the intermediate result and the 567 with the sign of the intermediate result. 637 replaced NaN, the result is NaN. 857 exceptions are set. Otherwise the result is zero. 952 which is greater than the result. 957 than the result. [all …]
|
A D | nss.texi | 138 the reaction on lookup result like @code{[NOTFOUND=return]}. 191 @var{status} @result{} success | notfound | unavail | tryagain 192 @var{action} @result{} return | continue 235 entry, discarding the result of the current lookup (and any merged 242 Proceed with the lookup process, retaining the current lookup result. 302 us a result. 460 function returns a pointer to the result the reentrant function return 553 pointer to buffer where the result is stored. @code{STRUCT_TYPE} is 557 the result etc. 694 for storing some additional data for the result. It is @emph{not} [all …]
|
A D | math.texi | 474 If the magnitude of the result is too large to be representable, 633 proper way to test the result of @code{ilogb} is as follows: 1122 the intermediate result in the variable pointed to by @var{signp} 1350 result. 1359 If the mathematical result has magnitude well below half the least 1835 pointed to by @var{result}. 1853 the variable pointed to by @var{result}. 1869 to by @var{result} contains the result. Otherwise an error occurred. 1885 @var{result} contains the result. 1899 @var{result} contains the result. [all …]
|
A D | string.texi | 240 @result{} 12 251 @result{} 32 253 @result{} 12 263 @result{} 32 326 @result{} 12 328 @result{} 5 446 return result; 769 return result; 831 return result; 1940 @result{} 5 [all …]
|
A D | users.texi | 1340 pointed to by the parameter @var{result} contains a pointer to the 1341 buffer with the result (probably the same as @var{result}. If not 1376 pointed to by the parameter @var{result} contains a pointer to the 1377 buffer with the result (probably the same as @var{result}. If not 2029 pointed to by the elements of the result structure. 2134 user entry from @var{stream}. But the result is returned in the 2348 pointed to by the elements of the result structure. 2436 user entry from @var{stream}. But the result is returned in the 2440 elements of the result structure. 2483 @code{fgetgrent_r}, it places the result in user-supplied buffers [all …]
|
A D | charset.texi | 765 size_t result = 0; 774 ++result; 776 return result; 1332 stores the result in @code{*@var{result}}. 1350 @code{*@var{result}}. 1892 int result = 0; 1925 result = -1; 1954 result = -1; 2578 int result; 2636 return result; [all …]
|
A D | pattern.texi | 24 particular string. The result is a yes or no answer: does the 678 glob ("foo/", GLOB_BRACE, NULL, &result) 681 glob ("baz", GLOB_BRACE|GLOB_APPEND, NULL, &result) 705 glob ("~/bin/*", GLOB_TILDE, NULL, &result) 716 glob ("~homer/bin/*", GLOB_TILDE, NULL, &result) 2060 wordexp_t result; 2065 switch (wordexp (program, &result, 0)) 2072 wordfree (&result); 2082 wordfree (&result); 2091 execv (result.we_wordv[0], result.we_wordv); [all …]
|
A D | filesys.texi | 89 as necessary to hold the result. 163 and therefore yield a different result. 702 the result. 1462 where the result is placed in. 2265 In all other cases the result is zero. 2273 In all other cases the result is zero. 2281 value. In all other cases the result is zero. 3204 result in @code{SIGBUS}. 3382 @deftypefun {char *} tmpnam (char *@var{result}) 3395 result is written into that array. [all …]
|
A D | stdio.texi | 562 @code{fprintf} was called with the result that the number does not 1068 @samp{(char) -1}. So always use an @code{int} for the result of 1927 Left-justify the result in the field (instead of the normal 1944 (respectively) to the result. For @samp{%b} or @samp{%B}, this 2136 Left-justify the result in the field. Normally the result is 2140 Always include a plus or minus sign in the result. 2485 store the result in which case @code{-1} is returned. This was 2510 Here is how to use @code{asprintf} to get the same result as the 2519 char *result; 2520 if (asprintf (&result, "value of %s is %s", name, value) < 0) [all …]
|
A D | time.texi | 219 is that it will produce the mathematically correct result even if 222 cannot exactly represent the difference, the result will be inexact. 439 @deftypefun time_t time (time_t *@var{result}) 449 If the argument @var{result} is not a null pointer, the calendar time 450 value is also stored in @code{*@var{result}}. 1154 object the result was written into, i.e., it returns @var{resultp}. 1188 object the result was written into, i.e., it returns @var{resultp}. 1334 result was written into, i.e., it returns @var{buffer}. Otherwise 1372 result was written into, i.e., it returns @var{buffer}. Otherwise 1473 the result is written right adjusted and space padded to the given [all …]
|
A D | terminal.texi | 96 except that it places its result into the user-specified buffer starting 400 those modes that you are really interested in, and store the result with 430 int result; 434 result = tcgetattr (desc, &settings); 435 if (result < 0) 447 result = tcsetattr (desc, TCSANOW, &settings); 448 if (result < 0) 1866 such as SIGSEGV that can result from bugs in the program. 1928 received by the slave side as if it was the result of a user typing at 2114 except that it places its result into the user-specified buffer starting
|
A D | lang.texi | 108 name are as for @code{assert}. The error text is the result of 517 arguments, which are added up and the result returned. While trivial, 555 The result of subtracting two pointers in C is always an integer, but the 557 data type of the result of @code{sizeof} also varies between compilers. 565 This is the signed integer type of the result of subtracting two 576 The result of the @code{sizeof} operator is of this type, and functions
|
A D | socket.texi | 1129 thread will overwrite the result of the last call. 1192 @var{buf} is a pointer to a buffer for the result. It is the caller's 1212 to a buffer to hold the result, and @var{len} is the length of this 1372 @code{AF_INET} or @code{AF_INET6}) of the result. 1510 A pointer to the buffer, in which the result is stored, is available in 1511 @code{*@var{result}} after the function call successfully returned. The 1513 has finished with the result hostent struct, or has copied it including all 1515 found, the pointer @code{*@var{result}} is a null pointer. Success is 1570 @code{AF_INET} or @code{AF_INET6}) for the result. 1599 buffers for the result and memory used internally. In case of success [all …]
|
A D | crypt.texi | 50 passphrases, by hashing them and comparing the result with the stored 87 compare the result with all the hashes. Salt forces the attacker to
|
A D | llio.texi | 412 Any condition that could result in @code{EAGAIN} can instead result in a 414 Calling @code{read} again immediately would result in @code{EAGAIN}. 423 @code{read} to return @code{EINTR}; it may instead result in a 609 @code{write} to return @code{EINTR}; it may instead result in a 1040 we call them @dfn{linked} channels. Linked channels result when you 1059 undefined as a result. To prevent this, you must clean up the streams 1628 memory of the size of the increased page size. As a result, 2854 @math{0}) is returned and the result of the operation can be retrieved 2912 specific request already terminated and if so, what the result was. 3785 @code{O_TMPFILE} flag, an @code{EOPNOTSUPP} error is the result. [all …]
|
A D | errno.texi | 101 happen as a result of a bug in your program, and since it will not 377 @errno{ERANGE, 34, Numerical result out of range} 378 Used by mathematical functions when the result value is 718 it can result from an operation to an NFS server running another 894 the normal result is for the operations affected to complete with this
|
A D | signal.texi | 387 @code{SIGSEGV}, this signal is typically the result of dereferencing an 391 @code{SIGBUS} signals often result from dereferencing a misaligned 1201 To avoid having problems as a result, always use @code{sigaction} to 1302 and store the result in the @code{sa_flags} member of your 1690 /* @r{Keep asking for a status until we get a definitive result.} */ 1864 blocks are free. As a result, no library functions that allocate or 1866 to store a result. 1881 signal handlers because they block signals. As a result, the library 1882 functions that allocate space for a result are also safe in signal 2072 the result is not a temporary failure. [all …]
|
A D | sysinfo.texi | 736 @deftypefun {struct mntent *} getmntent_r (FILE *@var{stream}, struct mntent *@var{result}, char *@… 752 pointed to by the @var{result} parameter. Additional information (e.g., 753 the strings pointed to by the elements of the result) are kept in the 1056 All other bits in @var{flags} should be set to zero; otherwise, the result
|
A D | freemanuals.texi | 60 content of the manual, and then distribute the result in all the usual
|
A D | setjmp.texi | 345 heap memory are normally not tagged to allow this. The result is that 398 should use the same context at the same time. The result in most cases
|