34 lines
671 B
Plaintext
34 lines
671 B
Plaintext
$OpenBSD: patch-src-sys_generic_h,v 1.2 2005/12/25 09:13:57 sturm Exp $
|
|
--- src/sys_generic.h.orig Wed Nov 7 23:54:32 2001
|
|
+++ src/sys_generic.h Sun Dec 25 10:08:58 2005
|
|
@@ -19,6 +19,8 @@
|
|
extern "C" {
|
|
#endif
|
|
|
|
+#include <sys/stat.h>
|
|
+
|
|
int SYS_Initialize();
|
|
|
|
int SYS_Mkdir( char*, int );
|
|
@@ -73,13 +75,19 @@ extern "C" {
|
|
|
|
int SYS_Wait( int, int );
|
|
|
|
- int SYS_Stat( int );
|
|
+ int SYS_Stat( char *pcFile, struct stat *psStatus );
|
|
+
|
|
+ int SYS_Fstat( int );
|
|
|
|
int SYS_Random( int, float, float );
|
|
|
|
int SYS_GetSeed();
|
|
|
|
int SYS_Exit( int );
|
|
+
|
|
+ int SYS_Rmdir( char *pcFile );
|
|
+
|
|
+ int SYS_Unlink( char *pcFile );
|
|
|
|
#ifdef __cplusplus
|
|
}
|