Next: _sbrk_r, Previous: _open_r, Up: Reentrant Syscalls [Contents][Index]
_read_r
—Reentrant version of readSynopsis
#include <reent.h> _ssize_t _read_r(struct _reent *ptr, int fd, void *buf, size_t cnt);
Description
This is a reentrant version of read
. It
takes a pointer to the global data block, which holds
errno
.