_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.