Previous: _wait_r, Up: Reentrant Syscalls


12.2.16 _write_r—Reentrant version of write

Synopsis

     #include <reent.h>
     _ssize_t _write_r(struct _reent *ptr,
         int fd, const void *buf, size_t cnt);
     

Description
This is a reentrant version of write. It takes a pointer to the global data block, which holds errno.