Next: , Previous: _lseek_r, Up: Reentrant Syscalls   [Contents][Index]


12.2.8 _open_r—Reentrant version of open

Synopsis

#include <reent.h>
int _open_r(struct _reent *ptr,
    const char *file, int flags, int mode);

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