mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-03 10:49:58 +00:00
10 lines
169 B
C
10 lines
169 B
C
|
#include <_ansi.h>
|
||
|
#include <sys/types.h>
|
||
|
#include "sys/syscall.h"
|
||
|
|
||
|
int
|
||
|
truncate (const char *path, off_t length)
|
||
|
{
|
||
|
return __trap34 (SYS_truncate, path, length, 0);
|
||
|
}
|