mirror of
https://github.com/apache/nuttx.git
synced 2026-08-21 05:28:19 +00:00
libc/sched: Implement nice API
Specified here: https://pubs.opengroup.org/onlinepubs/007904875/functions/nice.html Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ib25be28c8dc1c9288e8c78ad756c91ec6ef325a7
This commit is contained in:
parent
30ee11470c
commit
fea4cfe91c
3 changed files with 70 additions and 10 deletions
|
|
@ -301,6 +301,8 @@ void _exit(int status) noreturn_function;
|
|||
unsigned int sleep(unsigned int seconds);
|
||||
int usleep(useconds_t usec);
|
||||
int pause(void);
|
||||
int nice(int inc);
|
||||
|
||||
int daemon(int nochdir, int noclose);
|
||||
|
||||
/* File descriptor operations */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue