mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 23:17:44 +00:00
LibC: Add vsnprintf(), snprintf(), execvp() and abs().
This commit is contained in:
parent
db35d59994
commit
69a3aecf6b
6 changed files with 41 additions and 0 deletions
|
@ -244,4 +244,9 @@ void srand(unsigned seed)
|
|||
s_next_rand = seed;
|
||||
}
|
||||
|
||||
int abs(int i)
|
||||
{
|
||||
return i < 0 ? -i : i;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue