mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 22:48:11 +00:00
More compat work.
Move syscall to int 0x82 since using int 0x80 was kinda prone to fork bombs when building things on Linux. :^)
This commit is contained in:
parent
f6b41d166d
commit
cccc8d8aeb
17 changed files with 81 additions and 9 deletions
|
@ -3,10 +3,14 @@
|
|||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define HZ 1000
|
||||
#define STDIN_FILENO 0
|
||||
#define STDOUT_FILENO 1
|
||||
#define STDERR_FILENO 2
|
||||
|
||||
extern char** environ;
|
||||
|
||||
|
@ -68,6 +72,7 @@ int isatty(int fd);
|
|||
int mknod(const char* pathname, mode_t, dev_t);
|
||||
long fpathconf(int fd, int name);
|
||||
long pathconf(const char *path, int name);
|
||||
char* getlogin();
|
||||
|
||||
enum {
|
||||
_PC_NAME_MAX,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue