28#ifndef CMSIS_PLUS_POSIX_IO_C_POSIX_SYSCALLS_ALIASES_STANDARD_H_
29#define CMSIS_PLUS_POSIX_IO_C_POSIX_SYSCALLS_ALIASES_STANDARD_H_
47 int __attribute__((weak, alias (
"__posix_accept")))
57 chmod (const
char* path, mode_t mode);
60 chown (const
char* path, uid_t owner, gid_t group);
75 execve (const
char* path,
char* const argv[],
char* const envp[]);
78 fcntl (
int fildes,
int cmd, ...);
116 ioctl (
int fildes,
int request, ...);
125 link (const
char* existing, const
char* _new);
131 lseek (
int fildes, off_t offset,
int whence);
134 mkdir (const
char* path, mode_t mode);
137 open (const
char* path,
int oflag, ...);
152 read (
int fildes,
void* buf,
size_t nbyte);
162 readlink (const
char* path,
char* buf,
size_t bufsize);
175 rename (const
char* oldfn, const
char* newfn);
184 select (
int nfds, fd_set* readfds, fd_set* writefds, fd_set* errorfds,
185 struct timeval* timeout);
188 send (
int socket, const
void* buffer,
size_t length,
int flags);
208 socket (
int domain,
int type,
int protocol);
211 int __attribute__((weak, alias (
"__posix_socketpair")))
212 socketpair (
int domain,
int type,
int protocol,
int socket_vector[2]);
215 int __attribute__((weak, alias (
"__posix_stat")))
218#pragma GCC diagnostic push
219#pragma GCC diagnostic ignored "-Wshadow"
221 int __attribute__((weak, alias (
"__posix_statvfs")))
224#pragma GCC diagnostic pop
226 void __attribute__((weak, alias (
"__posix_sync")))
230 symlink (const
char* existing, const
char* _new);
266 write (
int fildes, const
void* buf,
size_t nbyte);
int shutdown(int socket, int how)
int chdir(const char *path)
int rename(const char *oldfn, const char *newfn)
int system(const char *command)
ssize_t recv(int socket, void *buffer, size_t length, int flags)
int tcsendbreak(int fildes, int duration)
pid_t wait(int *stat_loc)
int chown(const char *path, uid_t owner, gid_t group)
int unlink(const char *name)
int ioctl(int fildes, int request,...)
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
int accept(int socket, struct sockaddr *address, socklen_t *address_len)
int ftruncate(int fildes, off_t length)
off_t lseek(int fildes, off_t offset, int whence)
ssize_t recvmsg(int socket, struct msghdr *message, int flags)
ssize_t sendmsg(int socket, const struct msghdr *message, int flags)
int stat(const char *path, struct stat *buf)
int symlink(const char *existing, const char *_new)
int kill(pid_t pid, int sig)
int sockatmark(int socket)
int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t option_len)
int mkdir(const char *path, mode_t mode)
int bind(int socket, const struct sockaddr *address, socklen_t address_len)
int open(const char *path, int oflag,...)
int tcsetattr(int fildes, int optional_actions, const struct termios *termios_p)
int tcgetattr(int fildes, struct termios *termios_p)
int execve(const char *path, char *const argv[], char *const envp[])
int getpeername(int socket, struct sockaddr *address, socklen_t *address_len)
clock_t times(struct tms *buf)
ssize_t readlink(const char *path, char *buf, size_t bufsize)
int gettimeofday(struct timeval *ptimeval, void *ptimezone)
ssize_t send(int socket, const void *buffer, size_t length, int flags)
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *timeout)
struct dirent * readdir(DIR *dirp)
int truncate(const char *path, off_t length)
int getsockopt(int socket, int level, int option_name, void *option_value, socklen_t *option_len)
ssize_t write(int fildes, const void *buf, size_t nbyte)
ssize_t sendto(int socket, const void *message, size_t length, int flags, const struct sockaddr *dest_addr, socklen_t dest_len)
int listen(int socket, int backlog)
int rmdir(const char *path)
ssize_t writev(int fildes, const struct iovec *iov, int iovcnt)
ssize_t recvfrom(int socket, void *buffer, size_t length, int flags, struct sockaddr *address, socklen_t *address_len)
int chmod(const char *path, mode_t mode)
int fstat(int fildes, struct stat *buf)
char * getcwd(char *buf, size_t size)
int fcntl(int fildes, int cmd,...)
int fstatvfs(int fildes, struct statvfs *buf)
void rewinddir(DIR *dirp)
ssize_t read(int fildes, void *buf, size_t nbyte)
DIR * opendir(const char *dirname)
int link(const char *existing, const char *_new)
int utime(const char *path, const struct utimbuf *times)
int tcflush(int fildes, int queue_selector)
int getsockname(int socket, struct sockaddr *address, socklen_t *address_len)
int connect(int socket, const struct sockaddr *address, socklen_t address_len)
int socket(int domain, int type, int protocol)
int socketpair(int domain, int type, int protocol, int socket_vector[2])
#define __posix_sockatmark
#define __posix_getsockopt
#define __posix_rewinddir
#define __posix_readdir_r
#define __posix_getsockname
#define __posix_gettimeofday
#define __posix_setsockopt
#define __posix_ftruncate
#define __posix_getpeername
int __posix_tcgetattr(int fildes, struct termios *termios_p)
int __posix_tcflush(int fildes, int queue_selector)
int __posix_fstatvfs(int fildes, struct statvfs *buf)
int __posix_tcdrain(int fildes)
int __posix_tcsetattr(int fildes, int optional_actions, const struct termios *termios_p)
int __posix_tcsendbreak(int fildes, int duration)