Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 39) sorted by relevance

12

/manual/
A Dstring.texi117 @cindex allocation size of string
118 @cindex size of string
208 known size.
415 size_t size)
472 size_t size)
509 size_t size)
527 @var{size} bytes of @var{from}.
866 @var{size} bytes into @var{to}.
880 all @var{size} bytes of the destination, even when @var{size} is much
1011 allocated size of @var{to} must be at least @code{@var{size} + 1} bytes
[all …]
A Dmemory.texi631 xmalloc (size_t size)
633 void *value = malloc (size);
851 each of size @var{size}. It is equivalent to @samp{realloc (@var{ptr},
888 xrealloc (void *ptr, size_t size)
890 return xreallocarray (ptr, 1, size);
1126 valloc (size_t size)
2599 allocating many objects whose size is comparable to the chunk size. Here
2627 Allocate an object of @var{size}+1 bytes, with @var{size} of them copied
2783 blocks, space used for any size block can be reused for any other size.
3018 system page size.
[all …]
A Dtunables.texi229 The maximum size of a request (in bytes) which may be met via the
235 The maximum number of chunks of each size to cache. The default is 7.
240 to the number of bins times the chunk count in each bin times the size
263 bins'' that hold chunks up to a specific size. The default and
264 maximum size which may be held this way is 80 bytes on 32-bit systems
265 or 160 bytes on 64-bit systems. Applications which value size over
266 speed may choose to reduce the size of requests which are serviced
270 passed to @code{malloc} for the largest bin size to enable.
437 stack cache exceeds this size, unused thread stacks are returned to
438 the kernel, to bring the cache size below this limit.
[all …]
A Dresource.texi70 The maximum resident set size used, in kilobytes. That is, the maximum
278 The maximum size of file the process can create. Trying to write a
291 its stack past this size, it gets a @code{SIGSEGV} signal.
372 Get the current limit on the size of a file, in units of 512 bytes.
1323 @c Wrapped syscall to zero out past the kernel cpu set size; Linux
1354 @c set size; Linux only.
1473 size. Another place where the knowledge about the page size is useful
1476 adjust the size of the larger blocks to the page size. If the total
1482 this overhead must not push the total size over the page size multiple.)
1547 be multiplied by the page size.
[all …]
A Ddebug.texi36 @deftypefun int backtrace (void **@var{buffer}, int @var{size})
50 @var{buffer}. The argument @var{size} should be the number of
53 and is at most @var{size}.
65 @deftypefun {char **} backtrace_symbols (void *const *@var{buffer}, int @var{size})
81 obtained via the @code{backtrace} function, and @var{size} is the number
85 @var{size} entries just like the array @var{buffer}. Each string
107 @deftypefun void backtrace_symbols_fd (void *const *@var{buffer}, int @var{size}, int @var{fd})
A Dconf.texi58 @cindex limits, program argument size
685 Inquire about the size of the Level 1 instruction cache.
699 with the size reported with this variable.
703 Inquire about the size of the Level 1 data cache.
713 On aarch64, the cache line size returned is the minimum data cache line size
721 Inquire about the size of the Level 2 cache.
733 Inquire about the size of the Level 3 cache.
745 Inquire about the size of the Level 4 cache.
1118 @cindex limits, pipe buffer size
1260 Maximum recommended file transfer size.
[all …]
A Dsearch.texi7 applied as an argument, along with the size of the objects in the array
76 elements of @var{size} bytes pointed to by @var{base} for an element
110 function adds the object pointed to by @var{key} (with a size of
111 @var{size} bytes) at the end of the array and it increments the value of
116 starting at @var{base} must have room for at least @var{size} more
132 each of which is of size @var{size} bytes.
164 contains @var{count} elements, each of which is of size @var{size}.
193 int size;
195 qsort (array, size, sizeof (double), compare_doubles);
310 table with possibly different size.
[all …]
A Dprobes.texi30 @code{sbrk}. Argument @var{$arg1} is the additional size requested to
36 This probe is triggered after the size of the main arena is decreased by
37 calling @code{sbrk}. Argument @var{$arg1} is the size released by
46 @code{heap_info} data structure is held, and @var{$arg2} is the size of
53 @var{$arg1} is a pointer to the heap, and @var{$arg2} is the size of the
60 @var{$arg2} is the new size of the heap.
66 @var{$arg2} is the new size of the heap.
77 requested by the user; in the @code{calloc} case, that is the total size
87 user-requested allocation size is in @var{$arg1}.
A Dfilesys.texi114 size_t size = 100;
118 char *buffer = (char *) xmalloc (size);
119 if (getcwd (buffer, size) == buffer)
124 size *= 2;
1381 size_t size = 50;
1387 size *= 2;
1394 if (nchars < size)
3071 nothing or it can increase the size to the desired size. In this later
3147 add (off_t at, void *block, size_t size)
3149 if (at + size > len)
[all …]
A Dstdio.texi1556 This function reads up to @var{count} objects of size @var{size} into
1580 This function writes up to @var{count} objects of size @var{size} from
2451 size_t size = 100;
2452 char *buffer = xmalloc (size);
2462 if (buflen >= size)
2466 size = buflen;
2467 size++;
2468 buffer = xrealloc (buffer, size);
4826 efficient size.
5025 buf = `hello', size = 5
[all …]
A Dcharset.texi1124 array size (the @var{len} parameter).
1346 more than @var{size}).
1446 The terminating null character counts towards the size, so if @var{size}
1457 number is less than @var{size}.
1466 size_t size = strlen (string) + 1;
1467 wchar_t *buf = xmalloc (size * sizeof (wchar_t));
1469 size = mbstowcs (buf, string, size);
1470 if (size == (size_t) -1)
1472 buf = xreallocarray (buf, size + 1, sizeof *buf);
1495 The terminating null character counts towards the size, so if @var{size}
[all …]
A Dcreature.texi128 size limit is greater than 2GB (i.e., on @w{64 bit} systems) the new
151 types like @code{off_t} have a size of @w{32 bits} on @w{32 bit}
174 Define this macro to control the bit size of @code{time_t}, and therefore
175 the bit size of all @code{time_t}-derived types and the prototypes of all
181 If @code{_TIME_BITS} is undefined, the bit size of @code{time_t} is
A Dllio.texi202 functions to use files up to @twoexp{63} in size and offset from
378 reading less than @var{size} bytes is not an error.
439 and size offsets must be aligned to a particular block size. This error
551 The @code{write} function writes up to @var{size} bytes from
627 and size offsets must be aligned to a particular block size. This error
1154 which describe the location and size of each buffer.
1489 The new file size would exceed the process file size limit.
1625 increased page size and larger transfers.
1628 memory of the size of the increased page size. As a result,
1657 applicable page size), or inconsistent @var{flags} were given.
[all …]
A Dsocket.texi143 size values are of type @code{size_t}". On 64-bit machines
436 allocation size of @var{addr}, and on return it contains the actual
437 size of the address data.
484 This constant defines the maximum buffer size needed to hold an
2944 int size;
2950 @r{and its size.}
2980 link->size = success;
3009 link->size = success;
3380 in the buffer @var{optval} of size @var{optlen}.
3485 @code{size_t}, which is the size in bytes.
[all …]
A Dprocess.texi461 The size of the argument list and environment list taken together must
463 @gnuhurdsystems{}, the size (which compares against @code{ARG_MAX})
465 the size of a @code{char *}, plus one, rounded up to a multiple of the
466 size of a @code{char *}. Other systems may have somewhat different
477 The combined size of the new program's argument list and environment
479 specific limit on the argument list size, so this error code cannot
A Dsysinfo.texi90 @deftypefun int gethostname (char *@var{name}, size_t @var{size})
96 in the array @var{name}. The @var{size} argument specifies the size of
101 @theglibc{}, @code{gethostname} fails if @var{size} is not large
107 The @var{size} argument is less than the size of the host name plus one.
754 buffer of size @var{bufsize} pointed to by @var{buffer}.
A Darith.texi41 of integers, and sometimes must be written for a particular size of
53 of the following types, with the obvious mapping to bit size and signedness:
67 size, the corresponding above type does not exist.
69 If you don't need a specific storage size, but want the smallest data
83 If you don't need a specific storage size, but want the data structure
101 you should write code that takes into account the variable size and range
1055 defined in @file{fenv.h}. Its size and contents are
1772 @var{x} in the direction towards @var{y}. The size of the step between
3127 writes at most @var{size} characters and respects the format specified by
3141 written to @var{string} had @var{size} been sufficiently large, not
[all …]
A Dtexinfo.tex583 % @: forces normal size whitespace following.
672 % \dimen0 is the vertical size of the group's box.
774 % make the vbox yourself of the appropriate size.
2429 % (or 11) to redefine the text font size. pt is assumed.
2487 % of the current font size.
2526 % Select smaller font size with the current style. Used to change font size
3519 % that to the current nominal size.
6473 % in chapter size.
6595 % Print any size, any type, section title.
6959 % Need the word Appendix, and a fixed-size box.
[all …]
A Dsignal.texi771 File size limit exceeded. This signal is generated when the process
773 limit on file size. @xref{Limits on Resources}.
799 Window size change. This is generated on some systems (including GNU)
804 When the signal arrives, it should fetch the new screen size and
3109 defined to a canonical size for signal stacks. You can use
3140 calculating this size:
3144 This is the canonical size for a signal stack. It is judged to be
3149 to implement signal delivery. The size of a signal stack @strong{must}
3154 handlers will need, you may want to use a different size. In this case,
3198 The size of the alternate stack was too small.
[all …]
/manual/examples/
A Dexecinfo.c28 int size, i; in print_trace() local
30 size = backtrace (array, 10); in print_trace()
31 strings = backtrace_symbols (array, size); in print_trace()
35 printf ("Obtained %d stack frames.\n", size); in print_trace()
36 for (i = 0; i < size; i++) in print_trace()
A Dmemstrm.c24 size_t size; in main() local
27 stream = open_memstream (&bp, &size); in main()
30 printf ("buf = `%s', size = %zu\n", bp, size); in main()
33 printf ("buf = `%s', size = %zu\n", bp, size); in main()
A Dfilesrv.c33 size_t size; in main() local
44 size = sizeof (name); in main()
46 (struct sockaddr *) & name, &size); in main()
58 (struct sockaddr *) & name, size); in main()
A Dmkfsock.c31 size_t size; in make_named_socket() local
52 size = (offsetof (struct sockaddr_un, sun_path) in make_named_socket()
55 if (bind (sock, (struct sockaddr *) &name, size) < 0) in make_named_socket()
A Dfilecli.c37 size_t size; in main() local
46 size = strlen (name.sun_path) + sizeof (name.sun_family); in main()
50 (struct sockaddr *) & name, size); in main()
A Dinetsrv.c62 size_t size; in main() local
94 size = sizeof (clientname); in main()
97 &size); in main()

Completed in 76 milliseconds

12