1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:47:35 +00:00

LibC: Add a stub for nice()

This commit is contained in:
Simon Danner 2022-04-03 19:36:27 +02:00 committed by Andreas Kling
parent 651560d588
commit b9a8447dc0
2 changed files with 8 additions and 0 deletions

View file

@ -995,4 +995,11 @@ int getdtablesize()
int rc = getrlimit(RLIMIT_NOFILE, &dtablesize);
__RETURN_WITH_ERRNO(rc, dtablesize.rlim_cur, rc);
}
// https://pubs.opengroup.org/onlinepubs/007904975/functions/nice.html
int nice(int incr)
{
dbgln("FIXME: nice was called with: {}, not implemented", incr);
return incr;
}
}