Linux Standard Base Core Specification 4.1 | ||
---|---|---|
<<< Previous | Next >>> |
The interface __pread_chk() shall function in the same way as the interface pread(), except that __pread_chk() shall check for buffer overflow before computing a result. If an overflow is anticipated, the function shall abort and the program calling it shall exit.
The parameter buflen specifies the size of the buffer buf. If nbytes exceeds buflen, the function shall abort, and the program calling it shall exit.
The __pread_chk() function is not in the source standard; it is only in the binary standard.
<<< Previous | Home | Next >>> |
__pread64_chk | Up | __printf_chk |