µOS++ IIIe / CMSIS++ / POSIX++ Reference  v6.3.11
“Perfekt ist nicht gut genug”
The third edition of µOS++ and CMSIS++, a proposal for the next generation CMSIS, written in C++.
CMSIS++ POSIX I/O C API

CMSIS++ POSIX I/O C API summary page. More...

int accept (int socket, struct sockaddr *address, socklen_t *address_len)
 
int bind (int socket, const struct sockaddr *address, socklen_t address_len)
 
int chdir (const char *path)
 
int chmod (const char *path, mode_t mode)
 
int chown (const char *path, uid_t owner, gid_t group)
 
clock_t clock (void)
 
int close (int fildes)
 
int closedir (DIR *dirp)
 
int connect (int socket, const struct sockaddr *address, socklen_t address_len)
 
int execve (const char *path, char *const argv[], char *const envp[])
 
int fcntl (int fildes, int cmd,...)
 
pid_t fork (void)
 
int fstat (int fildes, struct stat *buf)
 
int ftruncate (int fildes, off_t length)
 
int fsync (int fildes)
 
char * getcwd (char *buf, size_t size)
 
int getpeername (int socket, struct sockaddr *address, socklen_t *address_len)
 
pid_t getpid (void)
 
int getsockname (int socket, struct sockaddr *address, socklen_t *address_len)
 
int getsockopt (int socket, int level, int option_name, void *option_value, socklen_t *option_len)
 
int gettimeofday (struct timeval *ptimeval, void *ptimezone)
 
int ioctl (int fildes, int request,...)
 
int isatty (int fildes)
 
int kill (pid_t pid, int sig)
 
int link (const char *existing, const char *_new)
 
int listen (int socket, int backlog)
 
off_t lseek (int fildes, off_t offset, int whence)
 
int mkdir (const char *path, mode_t mode)
 
int open (const char *path, int oflag,...)
 
DIRopendir (const char *dirname)
 Open directory. More...
 
int raise (int sig)
 
ssize_t read (int fildes, void *buf, size_t nbyte)
 
struct direntreaddir (DIR *dirp)
 
int readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result)
 
ssize_t readlink (const char *path, char *buf, size_t bufsize)
 
ssize_t recv (int socket, void *buffer, size_t length, int flags)
 
ssize_t recvfrom (int socket, void *buffer, size_t length, int flags, struct sockaddr *address, socklen_t *address_len)
 
ssize_t recvmsg (int socket, struct msghdr *message, int flags)
 
int rename (const char *oldfn, const char *newfn)
 
void rewinddir (DIR *dirp)
 
int rmdir (const char *path)
 
int select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *timeout)
 
ssize_t send (int socket, const void *buffer, size_t length, int flags)
 
ssize_t sendmsg (int socket, const struct msghdr *message, int flags)
 
ssize_t sendto (int socket, const void *message, size_t length, int flags, const struct sockaddr *dest_addr, socklen_t dest_len)
 
int setsockopt (int socket, int level, int option_name, const void *option_value, socklen_t option_len)
 
int shutdown (int socket, int how)
 
int sockatmark (int socket)
 
int socket (int domain, int type, int protocol)
 
int stat (const char *path, struct stat *buf)
 
void sync (void)
 
int symlink (const char *existing, const char *_new)
 
int system (const char *command)
 
clock_t times (struct tms *buf)
 
int truncate (const char *path, off_t length)
 
int unlink (const char *name)
 
int utime (const char *path, const struct utimbuf *times)
 
pid_t wait (int *stat_loc)
 
ssize_t write (int fildes, const void *buf, size_t nbyte)
 
ssize_t writev (int fildes, const struct iovec *iov, int iovcnt)
 

Detailed Description

CMSIS++ POSIX I/O C API summary page.

This page groups the standard POSIX I/O functions.

TODO: add content

Function Documentation

int accept ( int  socket,
struct sockaddr address,
socklen_t address_len 
)
int bind ( int  socket,
const struct sockaddr address,
socklen_t  address_len 
)
int chdir ( const char *  path)
int chmod ( const char *  path,
mode_t  mode 
)

Definition at line 128 of file file-system.cpp.

int chown ( const char *  path,
uid_t  owner,
gid_t  group 
)
clock_t clock ( void  )
int close ( int  fildes)
int closedir ( DIR dirp)
int connect ( int  socket,
const struct sockaddr address,
socklen_t  address_len 
)
int execve ( const char *  path,
char *const  argv[],
char *const  envp[] 
)
int fcntl ( int  fildes,
int  cmd,
  ... 
)
pid_t fork ( void  )
int fstat ( int  fildes,
struct stat buf 
)
int fsync ( int  fildes)
int ftruncate ( int  fildes,
off_t  length 
)
char* getcwd ( char *  buf,
size_t  size 
)
int getpeername ( int  socket,
struct sockaddr address,
socklen_t address_len 
)
pid_t getpid ( void  )
int getsockname ( int  socket,
struct sockaddr address,
socklen_t address_len 
)
int getsockopt ( int  socket,
int  level,
int  option_name,
void *  option_value,
socklen_t option_len 
)
int gettimeofday ( struct timeval *  ptimeval,
void *  ptimezone 
)
int ioctl ( int  fildes,
int  request,
  ... 
)
int isatty ( int  fildes)
int kill ( pid_t  pid,
int  sig 
)
int link ( const char *  existing,
const char *  _new 
)
int listen ( int  socket,
int  backlog 
)
off_t lseek ( int  fildes,
off_t  offset,
int  whence 
)
int mkdir ( const char *  path,
mode_t  mode 
)

Definition at line 46 of file file-system.cpp.

int open ( const char *  path,
int  oflag,
  ... 
)

Definition at line 58 of file io.cpp.

DIR* opendir ( const char *  dirname)

Open directory.

Parameters
dirname[in] Directory name.
Returns
Pointer to DIR object.
Parameters
dirname[in] Directory name.
Returns
Pointer to directory object.

Definition at line 44 of file directory.cpp.

int raise ( int  sig)
ssize_t read ( int  fildes,
void *  buf,
size_t  nbyte 
)
struct dirent* readdir ( DIR dirp)
int readdir_r ( DIR dirp,
struct dirent entry,
struct dirent **  result 
)
ssize_t readlink ( const char *  path,
char *  buf,
size_t  bufsize 
)
ssize_t recv ( int  socket,
void *  buffer,
size_t  length,
int  flags 
)
ssize_t recvfrom ( int  socket,
void *  buffer,
size_t  length,
int  flags,
struct sockaddr address,
socklen_t address_len 
)
ssize_t recvmsg ( int  socket,
struct msghdr *  message,
int  flags 
)
int rename ( const char *  oldfn,
const char *  newfn 
)

Definition at line 215 of file file-system.cpp.

void rewinddir ( DIR dirp)
int rmdir ( const char *  path)

Definition at line 77 of file file-system.cpp.

int select ( int  nfds,
fd_set *  readfds,
fd_set *  writefds,
fd_set *  errorfds,
struct timeval *  timeout 
)
ssize_t send ( int  socket,
const void *  buffer,
size_t  length,
int  flags 
)
ssize_t sendmsg ( int  socket,
const struct msghdr *  message,
int  flags 
)
ssize_t sendto ( int  socket,
const void *  message,
size_t  length,
int  flags,
const struct sockaddr dest_addr,
socklen_t  dest_len 
)
int setsockopt ( int  socket,
int  level,
int  option_name,
const void *  option_value,
socklen_t  option_len 
)
int shutdown ( int  socket,
int  how 
)
int sockatmark ( int  socket)
int socket ( int  domain,
int  type,
int  protocol 
)

Definition at line 46 of file socket.cpp.

int stat ( const char *  path,
struct stat *  buf 
)

Definition at line 155 of file file-system.cpp.

int symlink ( const char *  existing,
const char *  _new 
)
void sync ( void  )

Definition at line 108 of file file-system.cpp.

int system ( const char *  command)
clock_t times ( struct tms *  buf)
int truncate ( const char *  path,
off_t  length 
)

Definition at line 182 of file file-system.cpp.

int unlink ( const char *  name)

Definition at line 244 of file file-system.cpp.

int utime ( const char *  path,
const struct utimbuf *  times 
)

Definition at line 271 of file file-system.cpp.

pid_t wait ( int *  stat_loc)
ssize_t write ( int  fildes,
const void *  buf,
size_t  nbyte 
)
ssize_t writev ( int  fildes,
const struct iovec iov,
int  iovcnt 
)