mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
Get nyancat nyanning in Serenity.
I found a cute program that renders an animated nyancat in the terminal. This patch adds enough hackery to get it working correctly. :^)
This commit is contained in:
parent
3944c00f23
commit
dddd0e7b03
15 changed files with 341 additions and 64 deletions
|
@ -201,6 +201,11 @@ int sleep(unsigned seconds)
|
|||
return syscall(SC_sleep, seconds);
|
||||
}
|
||||
|
||||
int usleep(useconds_t usec)
|
||||
{
|
||||
return syscall(SC_usleep, usec);
|
||||
}
|
||||
|
||||
int gethostname(char* buffer, size_t size)
|
||||
{
|
||||
int rc = syscall(SC_gethostname, buffer, size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue