Lines Matching refs:size
714 greatly increases program complexity and size.
1066 @code{char} variable truncates its value to the size of a character, so
1253 new buffer address back in @code{*@var{lineptr}} and the increased size
1529 well as to read and write text in fixed-size blocks instead of by
1553 @deftypefun size_t fread (void *@var{data}, size_t @var{size}, size_t @var{count}, FILE *@var{strea…
1556 This function reads up to @var{count} objects of size @var{size} into
1560 returns a value of zero (and doesn't read anything) if either @var{size}
1568 @deftypefun size_t fread_unlocked (void *@var{data}, size_t @var{size}, size_t @var{count}, FILE *@…
1577 @deftypefun size_t fwrite (const void *@var{data}, size_t @var{size}, size_t @var{count}, FILE *@va…
1580 This function writes up to @var{count} objects of size @var{size} from
1586 @deftypefun size_t fwrite_unlocked (const void *@var{data}, size_t @var{size}, size_t @var{count}, …
2396 allocation size of the string @var{s}. Remember that the field width
2403 @deftypefun int swprintf (wchar_t *@var{ws}, size_t @var{size}, const wchar_t *@var{template}, @dot…
2408 wide character is written to mark the end of the string. The @var{size}
2411 allocate at least @var{size} wide characters for the string @var{ws}.
2427 @deftypefun int snprintf (char *@var{s}, size_t @var{size}, const char *@var{template}, @dots{})
2431 the @var{size} argument specifies the maximum number of characters to
2433 you should allocate at least @var{size} characters for the string @var{s}.
2434 If @var{size} is zero, nothing, not even the null byte, shall be written and
2439 greater than or equal to @var{size}, not all characters from the result have
2451 size_t size = 100;
2452 char *buffer = xmalloc (size);
2456 int buflen = snprintf (buffer, size, "value of %s is %s",
2462 if (buflen >= size)
2466 size = buflen;
2467 size++;
2468 buffer = xrealloc (buffer, size);
2471 snprintf (buffer, size, "value of %s is %s",
2670 @deftypefun int vswprintf (wchar_t *@var{ws}, size_t @var{size}, const wchar_t *@var{template}, va_…
2677 @deftypefun int vsnprintf (char *@var{s}, size_t @var{size}, const char *@var{template}, va_list @v…
3742 input (plus its terminating null) cannot possibly exceed the size of the
3744 maximum field width one less than the buffer size. @strong{If you
3863 maximum size. Using this feature, you don't supply a buffer; instead,
4298 which uses a long int. The two are not necessarily the same size.
4634 transmitted to or from the file in blocks of arbitrary size.
4756 @deftypefun int setvbuf (FILE *@var{stream}, char *@var{buf}, int @var{mode}, size_t @var{size})
4769 @var{size} characters. You should not free the space for this array as
4810 to use for the @var{size} argument to @code{setvbuf}. This value is
4814 I/O efficient. So it is a good idea to use @code{BUFSIZ} as the size
4817 Actually, you can get an even better value to use for the buffer size
4821 Sometimes people also use @code{BUFSIZ} as the allocation size of
4826 efficient size.
4835 with @var{buf}, and a @var{mode} of @code{_IOFBF} and a @var{size}
4842 @deftypefun void setbuffer (FILE *@var{stream}, char *@var{buf}, size_t @var{size})
4847 buffer. The @var{size} argument specifies the length of @var{buf}.
4877 Two more extensions allow to determine the size of the buffer and how
4883 The @code{__fbufsize} function return the size of the buffer in the
4937 @deftypefun {FILE *} fmemopen (void *@var{buf}, size_t @var{size}, const char *@var{opentype})
4945 by the argument @var{buf}. This array must be at least @var{size} bytes long.
4948 dynamically allocates an array @var{size} bytes long (as with @code{malloc};
4963 should add an extra byte to the @var{size} argument to account for this.
4964 Attempts to write more than @var{size} bytes to the buffer result
4969 file only when the file position advances past @var{size} bytes. So, if
4971 supply the length of the string as the @var{size} argument.
5002 contain the pointer to the buffer and its size. The values thus stored
5008 is @emph{not} included in the size value stored at @var{sizeloc}.
5025 buf = `hello', size = 5
5026 buf = `hello, world', size = 12
5129 ssize_t @var{reader} (void *@var{cookie}, char *@var{buffer}, size_t @var{size})
5133 Primitives}. Your function should transfer up to @var{size} bytes into
5141 ssize_t @var{writer} (void *@var{cookie}, const char *@var{buffer}, size_t @var{size})
5145 Primitives}. Your function should transfer up to @var{size} bytes from