13#ifndef CMSIS_PLUS_POSIX_IO_C_POSIX_SYSCALLS_ALIASES_STANDARD_H_
14#define CMSIS_PLUS_POSIX_IO_C_POSIX_SYSCALLS_ALIASES_STANDARD_H_
32 int __attribute__((weak, alias (
"__posix_accept")))
42 chmod (const
char* path, mode_t mode);
45 chown (const
char* path, uid_t owner, gid_t group);
60 execve (const
char* path,
char* const argv[],
char* const envp[]);
63 fcntl (
int fildes,
int cmd, ...);
101 ioctl (
int fildes,
int request, ...);
110 link (const
char* existing, const
char* _new);
116 lseek (
int fildes, off_t offset,
int whence);
119 mkdir (const
char* path, mode_t mode);
122 open (const
char* path,
int oflag, ...);
137 read (
int fildes,
void* buf,
size_t nbyte);
147 readlink (const
char* path,
char* buf,
size_t bufsize);
160 rename (const
char* oldfn, const
char* newfn);
169 select (
int nfds, fd_set* readfds, fd_set* writefds, fd_set* errorfds,
170 struct timeval* timeout);
173 send (
int socket, const
void* buffer,
size_t length,
int flags);
193 socket (
int domain,
int type,
int protocol);
196 int __attribute__((weak, alias (
"__posix_socketpair")))
197 socketpair (
int domain,
int type,
int protocol,
int socket_vector[2]);
200 int __attribute__((weak, alias (
"__posix_stat")))
203#pragma GCC diagnostic push
204#if defined(__clang__)
205#elif defined(__GNUC__)
206#pragma GCC diagnostic ignored "-Wshadow"
209 int __attribute__((weak, alias (
"__posix_statvfs")))
212#pragma GCC diagnostic pop
214 void __attribute__((weak, alias (
"__posix_sync")))
218 symlink (const
char* existing, const
char* _new);
254 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)