# IO - [Overview](#section1444219423165622) - [Summary](#section101471515165622) - [Files](#files) - [Data Structures](#nested-classes) - [Macros](#define-members) - [Typedefs](#typedef-members) - [Functions](#func-members) - [Details](#section611262313165622) - [Macro Definition](#section1524028957165622) - [FD\_CLR](#ga60efc4a969e971f91b7a73bcace62e58) - [FD\_ISSET](#ga99a3a0e4d7d1d3eb7be68f37554c0a30) - [FD\_SET](#gaa7701be461ce602ff7043cbd898a0c53) - [FD\_ZERO](#ga92ab86a10f942411365b9078833559f0) - [Function](#section398272795165622) - [asprintf\(\)](#ga1af9acc6b6efdca3576cb8223d95f401) - [clearerr\(\)](#ga81202d6a15259fbceb71a961a878b01a) - [dprintf\(\)](#ga5fe0fc8fe920b640d488856c5ca43cb5) - [err\(\)](#gaa6b66a9a8eb4be40e4424a4dc92ae056) - [errx\(\)](#gaeaca83913c785b95d6c50f35207ff739) - [fclose\(\)](#gac41a0ad4b31be2ad59d8222a0de30bda) - [feof\(\)](#gafb95de1535a5a185954819539f3c6ca5) - [ferror\(\)](#ga4a98383bb54291c2abede7aa28acf597) - [ferror\_unlocked\(\)](#ga089fd72e6218cf6805c8fc21123d3d5f) - [fflush\(\)](#gae4459e830d3e2abcf428337a661d9456) - [fgetc\(\)](#gab11a990e4f8863a1e7736e3c1d430092) - [fgetc\_unlocked\(\)](#ga9b8e6d63482eb1fe38f3eb9d7fc9bd8e) - [fgetln\(\)](#ga8e6fe2fcd5eaa8e2d146a50eeaae5b40) - [fgetpos\(\)](#gaf2e2b1a01359f5f7068b61d1dffcdcdd) - [fgets\(\)](#ga2b3df0e66b41edab3c039191fe6cc4f9) - [fileno\(\)](#ga03681b8592bba6fe02941b9abc182808) - [fmemopen\(\)](#ga6b2efc6515c53ab5f0c9800c35f65789) - [fopen\(\)](#ga58386e895d3c07b008c8865b2a9716fb) - [fprintf\(\)](#gad9291335f34e874c8431285d705bc3aa) - [fputc\(\)](#gabe6299d5823dd023e610aaa619735a3f) - [fputc\_unlocked\(\)](#gab8680ff3f49f3fe7ce0fb78b4cb8394c) - [fputs\(\)](#ga68236e664c1f0da049b25fba1c1695f6) - [fread\(\)](#ga091b3f41bdd6984d63ea48d87a62bfd2) - [freopen\(\)](#gaab336dbfc008a0873046ecd7db043df0) - [fscanf\(\)](#gae902a7b8796799a6e076f07e9d7de045) - [fseek\(\)](#gaece5d6e00c239ffd0847d8d2ef65bd57) - [fseeko\(\)](#ga6926f47b76b028f112045fbe7ced4115) - [fsetpos\(\)](#gae47e3f92dd8fc42ce0b6384c03ce6a9b) - [ftell\(\)](#gaae4231ac8066eb54ea1d9d12d551605c) - [ftello\(\)](#ga5f52ea043b9a2aa4d8cc92d674a2117b) - [ftrylockfile\(\)](#gab486b89691678e4873ec8b1b15c2678a) - [funlockfile\(\)](#ga4f016c54ff86ca62454417bb7b32ab11) - [fwrite\(\)](#gaf86a4505e5de39a100f7ea828377b585) - [getc\(\)](#gad5a0ea2c21a23a380b7c30fe35fa9456) - [getc\_unlocked\(\)](#ga169f9b7e933ba56156885e30f7263b28) - [getchar\(\)](#ga3e29caa20f7cffe18f410f01278905a8) - [getchar\_unlocked\(\)](#gafef7e39f2376c63728163cd5ccfbe99e) - [getdelim\(\)](#gab87a24b4c09e8fc3712a6d6090bfd371) - [getline\(\)](#gaaf07c1bbc2aa081a54bdd66f0e152312) - [gets\(\)](#gaab85b30d68ce9d9e0475e0f51bf610b1) - [getw\(\)](#ga6d475ead5d1f35e3f14423a99ef3a992) - [iconv\(\)](#gab7c1300a663def659ce6d4a01076c39d) - [iconv\_close\(\)](#ga062da5f802d9e274a8702f11921e691b) - [iconv\_open\(\)](#ga934548ab8aaae237ac5cce0ed0b3edec) - [open\_memstream\(\)](#gac7250554d80d31f4d8ad316c4c3c3c85) - [perror\(\)](#ga80b37b56a5a42139dccaef56da4bf82a) - [poll\(\)](#gab7fc0f6be5f13c81de180c1288ba3b6f) - [preadv\(\)](#ga94adc8dd94a6bdaaa9cf4d9f388418b3) - [printf\(\)](#ga98631211a4a8aee62f572375d5b637be) - [putc\(\)](#ga38f980218f04ebdddcdcd1b77e1cf6b1) - [putc\_unlocked\(\)](#ga340b21ecb337abb08905095e673672f6) - [putchar\(\)](#gaf4de2514b7778805db3815e8dd6cf09a) - [putchar\_unlocked\(\)](#ga07ff061a8fed45cdedbecdd899b5fdb1) - [puts\(\)](#gad41876f99f190c7488e64ef39c50a23f) - [putw\(\)](#gae3a2f96dac9fa87b964b69ff6d5cce46) - [pwritev\(\)](#ga3de6f9331d6bb930e748bb61860edbd6) - [readv\(\)](#gaa1952d693ed3c43292566e643ceb9858) - [remove\(\)](#ga02b13b56a188401119ea4da43c184913) - [rename\(\)](#ga4d4709508ed7604103d77c3fdc5ea4a2) - [rewind\(\)](#gaa0cd401f198d33d9d01a9e8aa4026819) - [scanf\(\)](#ga5c48433db9c04031772d5b36e6c4411d) - [select\(\)](#gaf916439863bed6ba92594e390c227c7e) - [setbuf\(\)](#ga36d24924e1acc69f9c3ce49a832615fe) - [setbuffer\(\)](#ga53a57437279b4ed57b7f116dfc9cbbcc) - [setlinebuf\(\)](#ga2e13e101d5a57cfccf1bab51f8768a5d) - [setvbuf\(\)](#gaf691eb990d669a9edec8a9ec721ce3bc) - [snprintf\(\)](#gad76145a6edfc98981ded8815a760e0cd) - [sprintf\(\)](#ga3082155ec11e7229f7a20439b31a169e) - [sscanf\(\)](#gaec1e54556dca3bd701d44395d34818dd) - [tempnam\(\)](#ga44dcf948b2c1dc3356d2937635a27839) - [ungetc\(\)](#ga54efa95b6d5b41adec98e5b8a1a9f27b) - [vasprintf\(\)](#ga5ec7fd90ebe6015636bce974c192c86a) - [vdprintf\(\)](#ga0d0a950c2b4e6fba795cb7d8f2e8b8b8) - [verr\(\)](#gaf5491fca8b356da75d96fc469bf32ea6) - [verrx\(\)](#ga4b5f9ccd84c00dc473329e4bf64125e1) - [vfprintf\(\)](#gad80f05917df38df3a5e1817498d67c26) - [vfscanf\(\)](#gabdd32e401e37c9d954f3f0a6907500d9) - [vprintf\(\)](#gaa715ef816dc040c8b367fde4ba84d6f3) - [vscanf\(\)](#ga40250d63904acd3e898061c9eab6ead3) - [vsnprintf\(\)](#ga2cadafbeb2d6e0d5781f6e5106d41fc2) - [vsprintf\(\)](#gaab3db67c98c32122fcb3d076d4207bbc) - [vsscanf\(\)](#gab1c4552aba80fe03c9b45fe27f4331ad) - [vwarn\(\)](#ga9ca1ffba0c6f5df7b172d25917611b4a) - [vwarnx\(\)](#ga22924aaaaa6b6e8bba4c76d0a0fe86cd) - [warn\(\)](#gaf80d19f1297a11626fab61a248959c71) - [warnx\(\)](#ga58f3d9691c146f86e562022d39567b7f) - [writev\(\)](#gad57f362a0aef72b52ea59288f74dd1ea) ## **Overview** **Description:** Provides data structures and functions for performing input/output \(I/O\) operations, such as printf and scanf. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Files
Language symbol type, which affects character classification and case conversion. |
|
Character sorting type, which affects string comparison and sorting habits. |
|
Message type, which affects prompt information, error information, status information, titles, labels, buttons, and menus. |
|
All types, which affect all content of locale settings. If LC_ALL is set, the locale information of all types is set to be consistent with LC_ALL. |
|
Defines the size of fd_set, that is, the maximum number of monitored files. |
|
FD_ZERO(s) do { int __i; unsigned long *__b=(s)->fds_bits; for(__i=sizeof (fd_set)/sizeof (long); __i; __i--) *__b++=0; } while(0) |
|
FD_SET(d, s) ((s)->fds_bits[(d)/(8*sizeof(long))] |= (1UL<<((d)%(8*sizeof(long))))) |
|
FD_CLR(d, s) ((s)->fds_bits[(d)/(8*sizeof(long))] &= ~(1UL<<((d)%(8*sizeof(long))))) |
|
FD_ISSET(d, s) !!((s)->fds_bits[(d)/(8*sizeof(long))] & (1UL<<((d)%(8*sizeof(long))))) |
|
Defines fd_set as the alias of the element type. |
warn (const char *fmt,...) |
Displays a formatted error message on the standard error (stderr) output. |
vwarn (const char *fmt, va_list args) |
|
warnx (const char *fmt,...) |
|
vwarnx (const char *fmt, va_list args) |
|
err (int eval, const char *fmt, va_list args) |
|
errx (int eval, const char *fmt,...) |
|
verr (int eval, const char *fmt, va_list args) |
|
verrx (int eval, const char *fmt, va_list args) |
|
iconv_open (const char *to, const char *from) |
|
iconv (iconv_t cd, char **restrict in, size_t *restrict inb, char **restrict out, size_t *restrict outb) |
|
iconv_close (iconv_t cd) |
|
fopen (const char *__restrict path, const char *__restrict mode) |
FILE * Opens the file stored in the specified path based on the given mode. |
freopen (const char *__restrict path, const char *__restrict mode, FILE *__restrict stream) |
FILE * Opens the file stored in the specified path, and associates the stream by the given stream. |
remove (const char *pathname) |
|
rename (const char *oldpath, const char *newpath) |
|
|
Changes the position of a specified stream to a new position. |
|
|
Obtains the current value of the file position indicator for a specified file stream. |
|
|
Sets the position indicator of a specified stream to the beginning of the file. |
|
|
Obtains the current file position of a specified stream and writes it to the pos parameter. |
|
|
Sets the file position indicator for a specified file stream. |
|
fread (void *__restrict ptr, size_t size, size_t nmemb, FILE *__restrict stream) |
|
fwrite (const void *__restrict ptr, size_t size, size_t nmemb, FILE *__restrict stream) |
|
getchar (void) |
|
|
Writes a character into the position pointed to by a specified stream. |
|
putchar (int c) |
|
|
Reads a line of characters from a specified file stream and stores it into the string pointed to by s. |
|
gets (char *s) |
Reads a line of characters from the stdin and stores it in the buffer. |
|
Writes a character string (excluding the terminating null character) to a specified file stream. |
|
puts (const char *s) |
Writes a character string and appends a new-line character to the stdout. |
printf (const char *format,...) |
Formats arguments based on format and prints formatted data to the stdout. |
|
Formats arguments based on format and prints formatted data to a specified file stream. |
|
sprintf (char *str, const char *format,...) |
Prints formatted data from a variable argument list to a specified string. |
snprintf (char *str, size_t size, const char *format,...) |
Prints formatted data of a maximum of size bytes from a variable argument list to a specified string. |
vprintf (const char *format, va_list ap) |
Prints formatted data from a variable argument list to the stdout. |
|
Prints formatted data from a variable argument list to a specified file stream. |
|
vsprintf (char *str, const char *format, va_list ap) |
Prints formatted data from a variable argument list to a specified string. |
vsnprintf (char *str, size_t size, const char *format, va_list ap) |
Prints formatted data of a maximum of size bytes from a variable argument list to a specified string. |
scanf (const char *format,...) |
Reads formatted data from the stdin and stores the data to the additional arguments based on format. |
|
Reads formatted data from a specified file stream and stores it based on format into the locations pointed to by the variable arguments. |
|
sscanf (const char *str, const char *format,...) |
Reads data from a character string pointed to by str and stores it based on format into the locations pointed to by the variable arguments. |
vscanf (const char *format, va_list ap) |
Reads data from the stdin and stores it based on format into the locations pointed to by the elements in the variable argument list identified by ap. |
|
Reads data from a specified file stream and stores it based on format into the locations pointed to by the elements in the variable argument list identified by ap. |
|
vsscanf (const char *str, const char *format, va_list ap) |
Reads data from a specified string and stores it based on format into the locations pointed to by the elements in the variable argument list identified by ap. |
perror (const char *msg) |
Prints the last error occurred during a call to a system or library function to the standard error output stream (stderr). |
|
Sets the mode and size of the buffer for a specified stream. |
|
fmemopen (void *buf, size_t size, const char *mode) |
FILE * Opens a memory stream that allows the access mode specified by mode. |
open_memstream (char **ptr, size_t *size) |
FILE * |
|
Sets the position of the next input or output operation on a specified file stream. |
|
|
Obtains the current value of the file position indicator for a specified file stream. |
|
dprintf (int fd, const char *format,...) |
|
vdprintf (int fd, const char *format, va_list ap) |
Prints formatted data from a variable argument list to a specified file. |
ftrylockfile (FILE *filehandle) |
|
funlockfile (FILE *filehandle) |
|
getc_unlocked (FILE *stream) |
Obtains a character from a specified file stream without locking the file stream or checking whether it is locked. |
getchar_unlocked (void) |
|
putc_unlocked (int c, FILE *stream) |
Writes a character to a specified file stream with the thread remains unlocked. |
putchar_unlocked (int c) |
Writes a character to the stdout with the thread remains unlocked. |
getdelim (char **lineptr, size_t *n, int delim, FILE *stream) |
|
tempnam (const char *dir, const char *prefix) |
|
setlinebuf (FILE *f) |
|
fgetc_unlocked (FILE *stream) |
Reads a character from the file pointed to by stream with the thread remains unlocked. |
fputc_unlocked (int c, FILE *stream) |
Writes a character to the file stream pointed to by stream at the current position. |
ferror_unlocked (FILE *stream) |
|
|
Reads a line of data from the current position of a specified file stream. |
|
asprintf (char **strp, const char *fmt,...) |
|
vasprintf (char **strp, const char *fmt, va_list ap) |
Prints formatted data from a variable argument list to a specified character string. |
select (int nfds, fd_set *__restrict readfds, fd_set *__restrict writefds, fd_set *__restrict exceptfds, struct timeval *__restrict timeout) |
|
readv (int fd, const struct iovec *iov, int iovcnt) |
|
writev (int fd, const struct iovec *iov, int iovcnt) |
|
preadv (int fd, const struct iovec *iov, int iovcnt, off_t offset) |
Reads the data in a file whose fd offset is offset to the multi-group buffer space pointed to by iov. |
pwritev (int fd, const struct iovec *iov, int iovcnt, off_t offset) |
Writes the data of a multi-group buffer space pointed to by iov to the offset of fd. |
| d | Indicates the file descriptor of the int type. |
| s | Indicates the descriptor set of the fd_set type. |
| d | Indicates the file descriptor of the int type. |
| s | Indicates the descriptor set of the fd_set type. |
| d | Indicates the file descriptor of the int type. |
| s | Indicates the descriptor set of the fd_set type. |
| s | Indicates the descriptor set of the fd_set type. |
| strp | Indicates the double pointer to the start address of the target string. |
| fmt | Indicates the pointer to the format string. |
| ... | Indicates the list of arguments corresponding to the format specifiers. |
| fp | Indicates the pointer to the file object that identifies a stream to set. |
| fd | Indicates the file descriptor that identifies a file. |
| format | Indicates the pointer to the format string. |
| eval | This function does not return, but exits with the value of eval. |
| fmt | Indicates the pointer to the string to format. |
| args | Indicates the parameters initialized by using va_start. |
| eval | This function does not return, but exits with the value of eval. |
| fmt | Indicates the pointer to the string to format. |
| fd | Indicates the pointer to the file descriptor of the file to close. |
| fp | Indicates the pointer to the file object that identifies a stream to test. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| fp | Indicates the pointer to the file object that identifies a stream to flush. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| len | Indicates the pointer to the length of the string that is read. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| pos | Indicates the pointer to the fpos_t object. |
| fp | Indicates the pointer to the file object that identifies a stream for which the file descriptor is obtained. |
| buf | Indicates the pointer to the buffer. |
| size | Indicates the size of the buffer. |
| mode | Indicates the pointer to the file operation mode. |
| path | Indicates the pointer to the path of the file to open. |
| mode | Indicates the pointer to the file access mode. The following table describes the available values. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| format | Indicates the pointer to the format string. |
| ... | Indicates the list of arguments corresponding to the format specifiers. |
| c | Indicates the int promotion of the character to write. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| c | Indicates the int promotion of the character to write. |
| stream | Indicates the pointer to the file stream. |
| s | Indicates the pointer to the character string to write. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| ptr | Indicates the pointer to the array for storing the read data. |
| size | Indicates the size of each element to read, in bytes. |
| nmemb | Indicates the number of elements to read. |
| stream | Indicates the pointer to the file object that identifies a stream to read. |
| path | Indicates the pointer to the path of the file to open. |
| mode | Indicates the pointer to the file access mode. The usage is same as which in fopen function. |
| stream | Indicates the pointer to the stream to associates. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| format | Indicates the pointer to the format string. |
| ... | Indicates the list of arguments corresponding to the format specifiers. |
| fp | Indicates the pointer to the file object that identifies a stream for which the position is to set. |
| offset | Indicates the offset that determines the position. |
| whence | Indicates the start position of the offset. The following table describes the available values. |
| fp | Indicates the pointer to the file object that identifies a stream for which the position is to set. |
| offset | Indicates the offset that determines the next operation. |
| whence | Indicates the start position of the offset. The following table describes the available values. |
| fp | Indicates the pointer to the file object that identifies a stream for which the position is to set. |
| pos | Indicates the pointer to the position to set. |
| fp | Indicates the pointer to the file object that identifies a stream for which the position is to obtain. |
| fp | Indicates the pointer to the file object that identifies a stream for which the position is to obtain. |
| filehandle | Indicates the pointer to the file object. |
| filehandle | Indicates the pointer to the file whose lock count is to be reduced. |
| ptr | Indicates the pointer to the data to write. |
| size | Indicates the size of each element to write, in bytes. |
| nmemb | Indicates the number of elements to write. |
| stream | Indicates the pointer to the file object that identifies a stream to which data is to write. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| s | Indicates the pointer to the memory buffer for storing the obtained string. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| cd | Indicates the conversion descriptor obtained via iconv_open. |
| in | Indicates the double pointer to the buffer for storing the input character. |
| inb | Indicates the pointer to the length of the character input buffer. |
| out | Indicates the double pointer to the buffer for storing the output character. |
| outb | Indicates the pointer to length of the character output buffer. |
An incomplete multi-byte sequence is encountered in the input. |
| cd | Indicates the conversion descriptor to close. |
| to | Indicates the pointer to the source character set for conversion. |
| from | Indicates the pointer to the target character set for conversion. |
| ptr | Indicates the pointer to the buffer address. |
| size | Indicates the pointer to the buffer size. |
| msg | Indicates the pointer to the prompt message printed to stderr before the error message itself. |
| fd | Indicates the file descriptor. |
| iov | Indicates the pointer to the multi-group buffer. |
| iovcnt | Indicates the number of buffers. For details, see IOV_MAX. |
| offset | Indicates the offset of the file descriptor to read. |
| format | Indicates the pointer to the format string. |
| ... | Indicates the list of arguments corresponding to the format specifiers. |
| c | Indicates the int promotion of the character to write. |
| stream | Indicates the pointer to the file stream. |
| c | Indicates the int promotion of the character to write. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| c | Indicates the int promotion of the character to write. |
| c | Indicates the int promotion of the character to write. |
| s | Indicates the pointer to the start address of the output buffer. |
| w | Indicates the word to write. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| fd | Indicates the file descriptor. |
| iov | Indicates the pointer to the multi-group buffer. |
| iovcnt | Indicates the number of buffers. For details, see IOV_MAX. |
| offset | Indicates the offset of the file descriptor to write. |
| fd | Indicates the file descriptor. |
| iov | Indicates the pointer to the multi-group buffer. |
| iovcnt | Indicates the number of buffers. For details, see IOV_MAX. |
| pathname | Indicates the pointer to the file or directory to delete. |
The length of pathname is greater than NAME_MAX. |
|
The file or directory pointed to by pathname does not exist. |
|
The path is a mount point or is neither a directory nor a file. |
|
When pathname points to a directory, the directory is not empty. |
|
The search permission on the path prefix component is denied, or the write permission of the directory in the path is denied. |
| oldpath | Indicates the pointer to the old path name of the file to rename. |
| newpath | Indicates the pointer to the new path name of the file. |
The device or resource is in use by the system or another process. |
|
| stream | Indicates the pointer to the file object that identifies a stream. |
| format | Indicates the pointer to the format string. |
| ... | Indicates the list of arguments corresponding to the format specifiers. |
| nfds | Indicates the maximum value of the file descriptor of the int type. |
| readfds | Indicates the descriptor set of the readable event to observe, which is the fd_set * type. |
| writefds | Indicates the descriptor set of the writable event to observe, which is the fd_set * type. |
| exceptfds | Indicates the descriptor set of exception event to observe, which is the fd_set * type. |
| timeout | Indicates the timeout interval, which is the struct timeval * type. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| buf | Indicates the pointer to the start address of the buffer. |
| f | Indicates the pointer to the file object that identifies a stream to set. |
| buf | Indicates the pointer to the buffer to set. |
| size | Indicates the buffer size. |
| f | Indicates the pointer to the file object that identifies a stream to set. |
| str | Indicates the pointer to the string to which the data is to be written. |
| size | Indicates the maximum length of the destination string. |
| format | Indicates the pointer to the format string. |
| ... | Indicates the list of arguments corresponding to the format specifiers. |
| str | Indicates the pointer to the string to which the data is to be written. |
| format | Indicates the pointer to the format string. |
| ... | Indicates the list of arguments corresponding to the format specifiers. |
| str | Indicates the pointer to the character string to read. |
| format | Indicates the pointer to the format string. |
| ... | Indicates the list of arguments corresponding to the format specifiers. |
| dir | Indicates the pointer to directory for creating the temporary file. |
| prefix | Indicates the pointer to the prefix of the file name. |
| c | Indicates the int promotion of the character to be pushed back. |
| stream | Indicates the pointer to the file object that identifies a stream. |
| fd | Indicates the file descriptor that identifies a file. |
| format | Indicates the pointer to the format string. |
| ap | Indicates a value identifying a variable argument list initialized by using va_start. |
| eval | This function does not return, but exits with the value of eval. |
| fmt | Indicates the pointer to the string to format. |
| args | Indicates the parameters initialized by using va_start. |
| eval | This function does not return, but exits with the value of eval. |
| fmt | Indicates the pointer to the string to format. |
| args | Indicates the parameters initialized by using va_start. |
| format | Indicates the pointer to the format string. |
| ap | Indicates a value identifying a variable argument list initialized by using va_start. |
| format | Indicates the pointer to the format string. |
| ap | Indicates a value identifying a variable argument list initialized by using va_start. |
| str | Indicates the pointer to the character string to read. |
| format | Indicates the pointer to the format string. |
| ap | Indicates a value identifying a variable argument list initialized by using va_start. |
| fmt | Indicates the pointer to the string to format. |
| args | Indicates the parameters initialized by using va_start. |
| fmt | Indicates the pointer to the string to format. |
| args | Indicates the parameters initialized by using va_start. |
| fmt | Indicates the pointer to the string to format. |
| ... | Indicates the parameters corresponding to the format declaration. |
| fmt | Indicates the pointer to the string to format. |
| ... | Indicates the parameters corresponding to the format declaration. |
| fd | Indicates the file descriptor. |
| iov | Indicates the pointer to the multi-group buffer. |
| iovcnt | Indicates the number of buffers. For details, see IOV_MAX. |