syscall.h 197 B

12345678910
  1. #ifndef __LIB_USER_SYSCALL_H
  2. #define __LIB_USER_SYSCALL_H
  3. #include "stdint.h"
  4. enum SYSCALL_NR
  5. {
  6. SYS_GETPID // 系统调用子功能号
  7. };
  8. uint32_t getpid(void);
  9. #endif // !__LIB_USER_SYSCALL_H