2def8035db
If SMP is enabled this function will return the number of the CPU that the thread is running on. This is non-standard but follows GLIBC if __GNU_SOURCE is enabled. The returned CPU number is, however, worthless since it returns the CPU number of the CPU that was executing the task when the function was called. The application can never know the true CPU number of the CPU tht it is running on since that value is volatile and change change at any time.
16 KiB
16 KiB
1 | _exit | unistd.h | void | int | |
---|---|---|---|---|---|
2 | aio_read | aio.h | defined(CONFIG_FS_AIO) | int | FAR struct aiocb * |
3 | aio_write | aio.h | defined(CONFIG_FS_AIO) | int | FAR struct aiocb * |
4 | atexit | stdlib.h | defined(CONFIG_SCHED_ATEXIT) | int | void (*)(void) |
5 | close | unistd.h | int | int | |
6 | closedir | dirent.h | int | FAR DIR* | |
7 | dup | unistd.h | int | int | |
8 | exit | stdlib.h | void | int | |
9 | fsync | unistd.h | !defined(CONFIG_DISABLE_MOUNTPOINT) | int | int |
10 | getenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | FAR char* | FAR const char* |
11 | if_nametoindex | net/if.h | defined(CONFIG_NETDEV_IFINDEX) | unsigned int | FAR const char * |
12 | modhandle | nuttx/module.h | defined(CONFIG_MODULE) | FAR void * | FAR const char * |
13 | mq_close | mqueue.h | !defined(CONFIG_DISABLE_MQUEUE) | int | mqd_t |
14 | mq_unlink | mqueue.h | !defined(CONFIG_DISABLE_MQUEUE) | int | const char* |
15 | nx_task_spawn | nuttx/spawn.h | defined(CONFIG_BUILD_PROTECTED) | int | FAR const struct spawn_syscall_parms_s * |
16 | opendir | dirent.h | FAR DIR* | FAR const char* | |
17 | pthread_cancel | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | pthread_t |
18 | pthread_cleanup_pop | pthread.h | defined(CONFIG_PTHREAD_CLEANUP) | void | int |
19 | pthread_cond_broadcast | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_cond_t* |
20 | pthread_cond_signal | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_cond_t* |
21 | pthread_detach | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | pthread_t |
22 | pthread_exit | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | void | pthread_addr_t |
23 | pthread_get_stackaddr_np | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | void* | pthread_t |
24 | pthread_get_stacksize_np | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | ssize_t | pthread_t |
25 | pthread_getspecific | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | FAR void* | pthread_key_t |
26 | pthread_key_delete | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | pthread_key_t |
27 | pthread_mutex_destroy | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t* |
28 | pthread_mutex_trylock | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t* |
29 | pthread_mutex_unlock | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t* |
30 | pthread_mutex_consistent | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE) | int | FAR pthread_mutex_t* |
31 | putenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | int | FAR const char* |
32 | readdir | dirent.h | FAR struct dirent* | FAR DIR* | |
33 | rewinddir | dirent.h | void | FAR DIR* | |
34 | rmdir | unistd.h | !defined(CONFIG_DISABLE_MOUNTPOINT) | int | FAR const char* |
35 | rmmod | nuttx/module.h | defined(CONFIG_MODULE) | int | FAR void * |
36 | sched_getscheduler | sched.h | int | pid_t | |
37 | sem_close | semaphore.h | defined(CONFIG_FS_NAMED_SEMAPHORES) | int | FAR sem_t* |
38 | sem_destroy | semaphore.h | int | FAR sem_t* | |
39 | sem_post | semaphore.h | int | FAR sem_t* | |
40 | sem_trywait | semaphore.h | int | FAR sem_t* | |
41 | sem_unlink | semaphore.h | defined(CONFIG_FS_NAMED_SEMAPHORES) | int | FAR const char* |
42 | sem_wait | semaphore.h | int | FAR sem_t* | |
43 | set_errno | errno.h | !defined(__DIRECT_ERRNO_ACCESS) | void | int |
44 | setgid | unistd.h | defined(CONFIG_SCHED_USER_IDENTITY) | int | gid_t |
45 | setuid | unistd.h | defined(CONFIG_SCHED_USER_IDENTITY) | int | uid_t |
46 | shmdt | sys/shm.h | defined(CONFIG_MM_SHM) | int | FAR const void * |
47 | sigpending | signal.h | int | FAR sigset_t* | |
48 | sigsuspend | signal.h | int | FAR const sigset_t* | |
49 | task_delete | sched.h | int | pid_t | |
50 | task_restart | sched.h | int | pid_t | |
51 | tcdrain | termios.h | defined(CONFIG_SERIAL_TERMIOS) | int | int |
52 | telldir | dirent.h | off_t | FAR DIR* | |
53 | timer_delete | time.h | !defined(CONFIG_DISABLE_POSIX_TIMERS) | int | timer_t |
54 | timer_getoverrun | time.h | !defined(CONFIG_DISABLE_POSIX_TIMERS) | int | timer_t |
55 | uname | sys/utsname.h | int | FAR struct utsname* | |
56 | unlink | unistd.h | !defined(CONFIG_DISABLE_MOUNTPOINT) | int | FAR const char* |
57 | unsetenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | int | const char* |
58 | wait | sys/wait.h | defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT) | pid_t | int* |