nuttx/syscall/syscall.csv
Gregory Nutt 2def8035db sched/sched/sched_getcpu.c: Implement non-standard interface.
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.
2020-01-31 20:25:15 +00:00

16 KiB

1_exitunistd.hvoidint
2aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
3aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
4atexitstdlib.hdefined(CONFIG_SCHED_ATEXIT)intvoid (*)(void)
5closeunistd.hintint
6closedirdirent.hintFAR DIR*
7dupunistd.hintint
8exitstdlib.hvoidint
9fsyncunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intint
10getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char*FAR const char*
11if_nametoindexnet/if.hdefined(CONFIG_NETDEV_IFINDEX)unsigned intFAR const char *
12modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
13mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
14mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intconst char*
15nx_task_spawnnuttx/spawn.hdefined(CONFIG_BUILD_PROTECTED)intFAR const struct spawn_syscall_parms_s *
16opendirdirent.hFAR DIR*FAR const char*
17pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
18pthread_cleanup_poppthread.hdefined(CONFIG_PTHREAD_CLEANUP)voidint
19pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*
20pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*
21pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
22pthread_exitpthread.h!defined(CONFIG_DISABLE_PTHREAD)voidpthread_addr_t
23pthread_get_stackaddr_nppthread.h!defined(CONFIG_DISABLE_PTHREAD)void*pthread_t
24pthread_get_stacksize_nppthread.h!defined(CONFIG_DISABLE_PTHREAD)ssize_tpthread_t
25pthread_getspecificpthread.h!defined(CONFIG_DISABLE_PTHREAD)FAR void*pthread_key_t
26pthread_key_deletepthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_key_t
27pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
28pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
29pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
30pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t*
31putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char*
32readdirdirent.hFAR struct dirent*FAR DIR*
33rewinddirdirent.hvoidFAR DIR*
34rmdirunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
35rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
36sched_getschedulersched.hintpid_t
37sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t*
38sem_destroysemaphore.hintFAR sem_t*
39sem_postsemaphore.hintFAR sem_t*
40sem_trywaitsemaphore.hintFAR sem_t*
41sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char*
42sem_waitsemaphore.hintFAR sem_t*
43set_errnoerrno.h!defined(__DIRECT_ERRNO_ACCESS)voidint
44setgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
45setuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
46shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
47sigpendingsignal.hintFAR sigset_t*
48sigsuspendsignal.hintFAR const sigset_t*
49task_deletesched.hintpid_t
50task_restartsched.hintpid_t
51tcdraintermios.hdefined(CONFIG_SERIAL_TERMIOS)intint
52telldirdirent.hoff_tFAR DIR*
53timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
54timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
55unamesys/utsname.hintFAR struct utsname*
56unlinkunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
57unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intconst char*
58waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tint*