arceos_
posix_
api
0.1.0
Modules
config
ctypes
Structs
Directory
FD_TABLE
File
FilePath
Constants
AT_FDCWD
Statics
HARDLINK_MANAGER
Functions
add_file_like
char_ptr_to_str
get_file_like
handle_file_path
sys_accept
sys_bind
sys_clock_gettime
sys_close
sys_connect
sys_dup
sys_dup2
sys_epoll_create
sys_epoll_ctl
sys_epoll_wait
sys_exit
sys_fcntl
sys_freeaddrinfo
sys_fstat
sys_get_time_of_day
sys_getaddrinfo
sys_getcwd
sys_getpeername
sys_getpid
sys_getrlimit
sys_getsockname
sys_listen
sys_lseek
sys_lstat
sys_nanosleep
sys_open
sys_openat
sys_pipe
sys_pthread_create
sys_pthread_exit
sys_pthread_join
sys_pthread_mutex_init
sys_pthread_mutex_lock
sys_pthread_mutex_unlock
sys_pthread_self
sys_read
sys_recv
sys_recvfrom
sys_rename
sys_sched_yield
sys_select
sys_send
sys_sendto
sys_setrlimit
sys_shutdown
sys_socket
sys_stat
sys_sysconf
sys_write
sys_writev
arceos_posix_api
Function
sys_getpid
Copy item path
Settings
Help
Summary
Source
pub fn sys_getpid() ->
c_int
Expand description
Get current thread ID.