1
Fork 0
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:
Andreas Kling 2019-01-23 06:35:34 +01:00
parent db35d59994
commit 69a3aecf6b
6 changed files with 41 additions and 0 deletions

View file

@ -244,4 +244,9 @@ void srand(unsigned seed)
s_next_rand = seed;
}
int abs(int i)
{
return i < 0 ? -i : i;
}
}