µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
c-newlib-reent.cpp File Reference

Go to the source code of this file.

Functions

int _close_r (void *ptr, int fildes)
 
int _execve_r (void *ptr, const char *path, char *const argv[], char *const envp[])
 
int _fcntl_r (void *ptr, int fildes, int cmd, int arg)
 
pid_t _fork_r (void *ptr)
 
int _fstat_r (void *ptr, int fildes, struct stat *buf)
 
pid_t _getpid_r (void *ptr)
 
int _gettimeofday_r (void *ptr, timeval *ptimeval, void *ptimezone)
 
int _isatty_r (void *ptr, int fildes)
 
int _kill_r (void *ptr, pid_t pid, int sig)
 
int _link_r (void *ptr, const char *existing, const char *_new)
 
off_t _lseek_r (void *ptr, int fildes, off_t offset, int whence)
 
int _mkdir_r (void *ptr, const char *path, mode_t mode)
 
int _open_r (void *ptr, const char *path, int oflag, int mode)
 
ssize_t _read_r (void *ptr, int fildes, void *buf, size_t nbyte)
 
int _rename_r (void *ptr, const char *oldfn, const char *newfn)
 
int _stat_r (void *ptr, const char *path, struct stat *buf)
 
clock_t _times_r (void *ptr, tms *buf)
 
int _unlink_r (void *ptr, const char *name)
 
pid_t _wait_r (void *ptr, int *stat_loc)
 
ssize_t _write_r (void *ptr, int fildes, const void *buf, size_t nbyte)
 

Function Documentation

◆ _close_r()

int _close_r ( void *  ptr,
int  fildes 
)

Definition at line 42 of file c-newlib-reent.cpp.

43 {
44 return __posix_close (fildes);
45 }
#define __posix_close

References __posix_close.

◆ _execve_r()

int _execve_r ( void *  ptr,
const char *  path,
char *const  argv[],
char *const  envp[] 
)

Definition at line 48 of file c-newlib-reent.cpp.

50 {
51 return __posix_execve (path, argv, envp);
52 }
#define __posix_execve

References __posix_execve.

◆ _fcntl_r()

int _fcntl_r ( void *  ptr,
int  fildes,
int  cmd,
int  arg 
)

Definition at line 55 of file c-newlib-reent.cpp.

56 {
57 return __posix_fcntl (fildes, cmd, arg);
58 }
#define __posix_fcntl

References __posix_fcntl.

◆ _fork_r()

pid_t _fork_r ( void *  ptr)

Definition at line 61 of file c-newlib-reent.cpp.

62 {
63 return __posix_fork ();
64 }
#define __posix_fork

References __posix_fork.

◆ _fstat_r()

int _fstat_r ( void *  ptr,
int  fildes,
struct stat buf 
)

Definition at line 72 of file c-newlib-reent.cpp.

73 {
74 return __posix_fstat (fildes, buf);
75 }
#define __posix_fstat

References __posix_fstat.

◆ _getpid_r()

pid_t _getpid_r ( void *  ptr)

Definition at line 79 of file c-newlib-reent.cpp.

80 {
81 return __posix_getpid ();
82 }
#define __posix_getpid

References __posix_getpid.

◆ _gettimeofday_r()

int _gettimeofday_r ( void *  ptr,
timeval *  ptimeval,
void *  ptimezone 
)

Definition at line 85 of file c-newlib-reent.cpp.

86 {
87 return __posix_gettimeofday (ptimeval, ptimezone);
88 }
#define __posix_gettimeofday

References __posix_gettimeofday.

◆ _isatty_r()

int _isatty_r ( void *  ptr,
int  fildes 
)

Definition at line 91 of file c-newlib-reent.cpp.

92 {
93 return __posix_isatty (fildes);
94 }
#define __posix_isatty

References __posix_isatty.

◆ _kill_r()

int _kill_r ( void *  ptr,
pid_t  pid,
int  sig 
)

Definition at line 97 of file c-newlib-reent.cpp.

98 {
99 return __posix_kill (pid, sig);
100 }
#define __posix_kill

References __posix_kill.

◆ _link_r()

int _link_r ( void *  ptr,
const char *  existing,
const char *  _new 
)

Definition at line 103 of file c-newlib-reent.cpp.

104 {
105 return __posix_link (existing, _new);
106 }
#define __posix_link

References __posix_link.

◆ _lseek_r()

off_t _lseek_r ( void *  ptr,
int  fildes,
off_t  offset,
int  whence 
)

Definition at line 109 of file c-newlib-reent.cpp.

110 {
111 return __posix_lseek (fildes, offset, whence);
112 }
#define __posix_lseek

References __posix_lseek.

◆ _mkdir_r()

int _mkdir_r ( void *  ptr,
const char *  path,
mode_t  mode 
)

Definition at line 115 of file c-newlib-reent.cpp.

116 {
117 return __posix_mkdir (path, mode);
118 }
#define __posix_mkdir

References __posix_mkdir.

◆ _open_r()

int _open_r ( void *  ptr,
const char *  path,
int  oflag,
int  mode 
)

Definition at line 121 of file c-newlib-reent.cpp.

122 {
123 return __posix_open (path, oflag, mode);
124 }
#define __posix_open

References __posix_open.

◆ _read_r()

ssize_t _read_r ( void *  ptr,
int  fildes,
void *  buf,
size_t  nbyte 
)

Definition at line 127 of file c-newlib-reent.cpp.

128 {
129 return __posix_read (fildes, buf, nbyte);
130 }
#define __posix_read

References __posix_read.

◆ _rename_r()

int _rename_r ( void *  ptr,
const char *  oldfn,
const char *  newfn 
)

Definition at line 133 of file c-newlib-reent.cpp.

134 {
135 return __posix_rename (oldfn, newfn);
136 }
#define __posix_rename

References __posix_rename.

◆ _stat_r()

int _stat_r ( void *  ptr,
const char *  path,
struct stat buf 
)

Definition at line 144 of file c-newlib-reent.cpp.

145 {
146 return __posix_stat (path, buf);
147 }
#define __posix_stat

References __posix_stat.

◆ _times_r()

clock_t _times_r ( void *  ptr,
tms *  buf 
)

Definition at line 151 of file c-newlib-reent.cpp.

152 {
153 return __posix_times (buf);
154 }
#define __posix_times

References __posix_times.

◆ _unlink_r()

int _unlink_r ( void *  ptr,
const char *  name 
)

Definition at line 157 of file c-newlib-reent.cpp.

158 {
159 return __posix_unlink (name);
160 }
#define __posix_unlink

References __posix_unlink.

◆ _wait_r()

pid_t _wait_r ( void *  ptr,
int *  stat_loc 
)

Definition at line 163 of file c-newlib-reent.cpp.

164 {
165 return __posix_wait (stat_loc);
166 }
#define __posix_wait

References __posix_wait.

◆ _write_r()

ssize_t _write_r ( void *  ptr,
int  fildes,
const void *  buf,
size_t  nbyte 
)

Definition at line 169 of file c-newlib-reent.cpp.

170 {
171 return __posix_write (fildes, buf, nbyte);
172 }
#define __posix_write

References __posix_write.