Merge pull request #3125 from marcs-feh/master

sys/linux: Add binding to ioctl syscall + standard fd constants.
This commit is contained in:
Laytan
2024-08-13 15:30:50 +02:00
committed by GitHub
2 changed files with 27 additions and 1 deletions
+15
View File
@@ -1,5 +1,20 @@
package linux
/*
Standard input file descriptor
*/
STDIN_FILENO :: Fd(0)
/*
Standard output file descriptor
*/
STDOUT_FILENO :: Fd(1)
/*
Standard error file descriptor
*/
STDERR_FILENO :: Fd(2)
/*
Special file descriptor to pass to `*at` functions to specify
that relative paths are relative to current directory.