Turns out I wasn't building the syscall libraries. Do so.
This commit is contained in:
13
plat/linux/libsys/creat.c
Normal file
13
plat/linux/libsys/creat.c
Normal file
@@ -0,0 +1,13 @@
|
||||
/* $Source: /cvsroot/tack/Ack/plat/linux386/libsys/creat.c,v $
|
||||
* $State: Exp $
|
||||
* $Revision: 1.1 $
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include "libsys.h"
|
||||
|
||||
int creat(const char* filename, int mode)
|
||||
{
|
||||
return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode);
|
||||
}
|
||||
Reference in New Issue
Block a user