major refactorings
Signed-off-by: kaguya3311 <kaguya3311@national.shitposting.agency>
This commit is contained in:
@@ -6,5 +6,6 @@
|
||||
#define HOST_NAME_MAX 64
|
||||
#define NAME_MAX 255
|
||||
#define OPEN_MAX 256
|
||||
#define _POSIX_PATH_MAX 256
|
||||
|
||||
#endif /*_ABIBITS_LIMITS_H */
|
||||
@@ -1,8 +0,0 @@
|
||||
#ifndef _ABIBITS_SIGSET_T_H
|
||||
#define _ABIBITS_SIGSET_T_H
|
||||
|
||||
typedef struct {
|
||||
unsigned long __sig[1024 / (8 * sizeof(long))];
|
||||
} sigset_t;
|
||||
|
||||
#endif /* _ABIBITS_SIGSET_T_H */
|
||||
@@ -0,0 +1,20 @@
|
||||
#ifndef _ABIBITS_IOCTLS_H
|
||||
#define _ABIBITS_IOCTLS_H
|
||||
|
||||
#define TIOCEXCL 0x540C
|
||||
#define TIOCNXCL 0x540D
|
||||
|
||||
#define SIOCPROTOPRIVATE 0x89E0
|
||||
#define SIOCGSTAMP 0x8906
|
||||
#define SIOCGIFNAME 0x8910
|
||||
#define SIOCGIFCONF 0x8912
|
||||
#define SIOCGIFFLAGS 0x8913
|
||||
#define SIOCSIFFLAGS 0x8914
|
||||
#define SIOCGIFADDR 0x8915
|
||||
#define SIOCGIFINDEX 0x8933
|
||||
#define SIOCATMARK 0x8905
|
||||
#define SIOCGIFHWADDR 0x8927
|
||||
#define SIOCGIFBRDADDR 0x8919
|
||||
#define SIOCGIFNETMASK 0x891B
|
||||
|
||||
#endif /* _ABIBITS_IOCTLS_H */
|
||||
@@ -264,7 +264,7 @@ unsigned int alarm(unsigned int __seconds);
|
||||
int chdir(const char *__path);
|
||||
int chown(const char *__path, uid_t __uid, gid_t __gid);
|
||||
int close(int __fd);
|
||||
ssize_t confstr(int __name, char *__buf, size_t __size);
|
||||
size_t confstr(int __name, char *__buf, size_t __size);
|
||||
char *ctermid(char *__s);
|
||||
int dup(int __fd);
|
||||
int dup2(int __src_fd, int __dest_fd);
|
||||
|
||||
Reference in New Issue
Block a user