Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 28) sorted by relevance

12

/manual/
A Dsearch.texi7 applied as an argument, along with the size of the objects in the array
27 how to compare the elements of the array.
65 @cindex array search function
86 the array in which case it might not be useful to sort the array before
130 The @code{bsearch} function searches the sorted array @var{array} for an object
153 @cindex array sort function
163 The @code{qsort} function sorts the array @var{array}. The array
192 double *array;
195 qsort (array, size, sizeof (double), compare_doubles);
204 the array.
[all …]
A Ddebug.texi68 @c Collects info returned by _dl_addr in an auto array, allocates memory
70 @c pointers to the strings into the array entries in the buffer.
79 obtained from the @code{backtrace} function into an array of strings.
80 The argument @var{buffer} should be a pointer to an array of addresses
82 of entries in that array (the return value of @code{backtrace}).
84 The return value is a pointer to an array of strings, which has
85 @var{size} entries just like the array @var{buffer}. Each string
122 the array to contain the return addresses returned by @code{backtrace}
A Dstring.texi26 arbitrary array function.
235 terminating null byte within the array.)
354 @cindex array copy functions
360 the destination array specified to the left of the source array. Most
367 destination array overlaps the end of the source array, the original
391 contents of an array:
1103 @cindex array comparison functions
1496 sort_strings (char **array, int nstrings)
1499 qsort (array, nstrings,
1605 temp_array[i].input = array[i];
[all …]
A Dterminal.texi257 An array specifying which characters are associated with various
285 array.
1154 of the @code{struct termios} structure. This member is an array; each
1189 character array. @code{@var{termios}.c_cc[VEOF]} holds the character
1205 character array. @code{@var{termios}.c_cc[VEOL]} holds the character
1224 character array. @code{@var{termios}.c_cc[VEOL2]} holds the character
1240 character array. @code{@var{termios}.c_cc[VERASE]} holds the
1284 character array. @code{@var{termios}.c_cc[VKILL]} holds the character
1322 character array. @code{@var{termios}.c_cc[VINTR]} holds the character
1402 character array. @code{@var{termios}.c_cc[VSTART]} holds the
[all …]
A Dgetopt.texi44 of the @var{argv} array to be processed. Once @code{getopt} has found
120 @var{argv} array, not into a static area that might be overwritten.
208 @code{getopt_long}. The argument @var{longopts} must be an array of
209 these structures, one for each long option. Terminate the array with an
268 For any long option, @code{getopt_long} tells you the index in the array
A Dmath.texi1554 generator state. The argument @var{state} is an array of @var{size}
1557 power of two. The bigger the @var{state} array, the better.
1559 The return value is the previous value of the state information array.
1571 The return value is the previous value of the state information array.
1667 since the state consists of a 48-bit array.
1698 an array describing the state of the random number generator.
1700 This function can be called subsequently since it updates the array to
1721 is determined by the array provided as the parameter to the function.
1725 number generator). The array should have been initialized before the
1804 From the seven elements in the array @var{param} the least significant
[all …]
A Dcharset.texi440 the array @var{buf} to convert one multibyte character. The array
704 character is stored in the @code{result} array and the pointer to the
886 specifying the length of the array @var{s}. Instead the function
941 task is to make sure there is enough room in the array @var{s}. We
1005 If @var{dst} is not a null pointer, the result is stored in the array
1009 If @var{len} wide characters are stored in the array @var{dst} before
1086 stores the result in the array pointed to by @var{dst}. The NUL wide
1101 @var{len} bytes in total to the array @var{dst}. In this case (and if
1124 array size (the @var{len} parameter).
1445 @var{size} wide characters into the array beginning at @var{wstring}.
[all …]
A Dprocess.texi389 The @var{argv} argument is an array of null-terminated strings that is
391 function of the program to be executed. The last element of this array
392 must be a null pointer. By convention, the first element of this array
405 specified individually instead of as an array. A null pointer must be
414 be an array of strings in the same format as for the @code{environ}
437 argument, and should be an array of strings in the same format as for
A Dstartup.texi144 @var{argv} array. This behavior is nonstandard; if you want to suppress
235 The @var{tokens} parameter references an array of strings containing the
239 the @var{tokens} array and returns the index in the string as the
250 @var{tokens} array the starting address of the suboption including a
476 The environment is represented as an array of strings. Each string is
480 array is a null pointer.
A Dstdio.texi1314 the contents of the array @var{s} are unchanged and a null pointer is
1557 the array @var{data}, from the stream @var{stream}. It returns the
2387 the array @var{s}, not including the terminating null character.
2407 wide character array @var{ws} instead of written to a stream. A null
2775 The argument @var{n} specifies the number of elements in the array
2783 array and call @code{parse_printf_format} again.
3404 @code{scanf} to initialize an array of @code{double}:
3408 readarray (double *array, int n)
3412 if (scanf (" %lf", &(array[i])) != 1)
4774 that declares the array.
[all …]
A Dlang.texi181 a one-dimensional array with @code{malloc} to hold a specified set of
183 the length of the array corresponds to that number. Without facilities
185 each possible array size.
265 its type. This rules out array and function types, as well as
663 integer type is for using an array of @code{unsigned long int} as a
A Dcrypt.texi251 array starting at @var{buffer}. @var{length} can be no more than 256.
288 array starting at @var{buffer}. The @var{flags} argument should be
A Dfilesys.texi80 the current working directory, storing it in the character array
100 name. You need to allocate a bigger array and try again.
143 The @var{buffer} argument should be a pointer to an array at least
577 for at least @code{NAME_MAX + 1} characters in the @code{d_name} array.
675 @c cookies, buckets and records, and the global array of pointers to
686 @c cookies, buckets and records, and the global array of pointers to
722 by @var{dir}. The result in *@var{namelist} is an array of pointers to
850 into the byte array starting at @var{buffer}.
2913 @c to struct timespec array and issues a utimensat syscall, or to
2930 @c to struct timespec array and issues a utimensat syscall.
[all …]
A Dctype.texi69 @c The is* macros call __ctype_b_loc to get the ctype array from the
71 @c thread-local memory the (indirect) pointer to the ctype array, which
73 @c the active locale for the thread, and the array, being part of the
A Dconf.texi612 Inquire about the maximum size of an array in the @code{bc}
1146 array in which to store a file name! You can't possibly make an array
1429 The largest number of elements in one array that the @code{bc} utility
1484 an array in the @code{bc} utility. Its value is @code{2048}.
A Dpattern.texi1100 value to decide how long an array to allocate to hold information about
1187 Don't bother storing the contents of the @var{matchptr} array.
1506 returns that information by storing the offsets into an array whose
1508 the array (index @code{0}) records the part of the string that matched
1509 the entire regular expression. Each other element of the array records
1515 This is the data type of the @var{matchptr} array that you pass to
1541 array is, with the @var{nmatch} argument. This tells @code{regexec} how
A Dtime.texi1759 characters to be stored in the array @var{s}, including the terminating
1761 characters, @code{strftime} returns zero and the contents of the array
1763 number of characters placed in the array @var{s}, not including the
1849 must be an array of wide characters. The parameter @var{size} which
2680 The array @code{tzname} contains two strings, which are the standard
2689 The @code{tzname} array is initialized from the @code{TZ} environment
2693 Time and Eastern Daylight Time), the array contains the most recent
2696 The @code{tzname} array is required for POSIX.1 compatibility, but in
A Dsysinfo.texi96 in the array @var{name}. The @var{size} argument specifies the size of
97 this array, in bytes. Note that this is @emph{not} the DNS hostname.
102 enough; then you can try again with a larger array. The following
A Dusers.texi250 stored in the array @var{groups}; the return value from the function is
482 the number of group IDs in the array @var{groups}.
555 corresponding to these groups are stored in the array @var{groups}; the
920 @var{string} is not a null pointer, it should be an array that can hold
922 array. Otherwise, a pointer to a string in a static area is returned.
933 An integer constant that indicates how long an array you might need to
A Dllio.texi1520 be accessed just like an array in the program.
2066 @code{select} function. It is actually a bit array.
2395 an array of @code{struct aiocb} values contains holes, i.e., some of the
2396 values must not be handled although the whole array is presented to the
2812 @code{lio_listio} gets the @var{nent} requests from the array pointed to
2816 of @code{aio_read} for this element of the array (except that the way
2821 ``operation'' is useful in situations where one has a fixed array of
2827 The other members of each element of the array pointed to by
2845 function on all the elements of the array @var{list}.
3082 array @var{list} has completed. If any of the requests has already
A Dmemory.texi1352 This commonly happens when an array index or pointer
1356 This commonly happens when an array index or pointer
2846 In GNU C, you can replace most uses of @code{alloca} with an array of
2858 But @code{alloca} is not always equivalent to a variable-sized array, for
2863 A variable size array's space is freed at the end of the scope of the
2864 name of the array. The space allocated with @code{alloca}
2874 within one function, exiting a scope in which a variable-sized array was
A Dsocket.texi564 This function returns an array of @code{if_nameindex} structures, one
674 this a zero-length array and tweaking the following example to use
1748 These are alternate names for the service, represented as an array of
1749 strings. A null pointer terminates the array.
2009 These are alternate names for the protocol, specified as an array of
2010 strings. The last element of the array is a null pointer.
3539 of strings. A null pointer terminates the array.
A Djob.texi1031 not a null pointer, it should be an array that can hold at least
1032 @code{L_ctermid} characters; the string is returned in this array.
A Dargp.texi238 array for options, writing @code{@{ 0 @}} is enough to achieve this.
288 Every entry in an options array with this field 0 will inherit the group
/manual/examples/
A Dexecinfo.c26 void *array[10]; in print_trace() local
30 size = backtrace (array, 10); in print_trace()
31 strings = backtrace_symbols (array, size); in print_trace()

Completed in 120 milliseconds

12