mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-03 19:39:16 +00:00
feat(userspace/libc): implement functions for porting apps
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -31,4 +31,8 @@ struct sockaddr
|
||||
char sa_data[14];
|
||||
};
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
#define SO_PEERCRED 0x1029
|
||||
#endif
|
||||
|
||||
#endif // _BITS_SOCKET_H
|
||||
|
@ -1807,7 +1807,7 @@ typedef enum
|
||||
/* Time */
|
||||
|
||||
/** @copydoc SYS_TIME */
|
||||
#define call_time(t) syscall1(SYS_TIME, t)
|
||||
#define call_time(t) syscall1(SYS_TIME, (scarg)t)
|
||||
|
||||
/** @copydoc SYS_CLOCK_GETTIME */
|
||||
#define call_clock_gettime(clockid, tp) syscall2(SYS_CLOCK_GETTIME, (scarg)clockid, (scarg)tp)
|
||||
|
Reference in New Issue
Block a user