Revise makefile structure.
[pintos-anon] / src / lib / syscall-nr.h
index 72e06f41dd3755aa2decd6126f5b7b6085c0444b..5a243bd28798ef9d92747d16f38839f6028cb1c3 100644 (file)
 #define SYS_filesize 7          /* Obtains a file's size. */
 #define SYS_read 8              /* Reads from a file. */
 #define SYS_write 9             /* Writes to a file. */
-#define SYS_close 10            /* Closes a file. */
-#define SYS_mmap 12             /* Maps a file into memory. */
-#define SYS_munmap 13           /* Removes a memory mapping. */
-#define SYS_chdir 14            /* Changes the current directory. */
-#define SYS_mkdir 15            /* Create a directory. */
-#define SYS_lsdir 16            /* Lists the current directory to stdout. */
-
-/* Predefined file handles. */
-#define STDIN_FILENO 0
-#define STDOUT_FILENO 1
+#define SYS_seek 10             /* Change position in a file. */
+#define SYS_tell 11             /* Report current position in a file. */
+#define SYS_close 12            /* Closes a file. */
+#define SYS_mmap 13             /* Maps a file into memory. */
+#define SYS_munmap 14           /* Removes a memory mapping. */
+#define SYS_chdir 15            /* Changes the current directory. */
+#define SYS_mkdir 16            /* Create a directory. */
+#define SYS_lsdir 17            /* Lists the current directory to stdout. */
 
 #endif /* lib/syscall-nr.h */