aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-07-14 20:54:55 -0700
committerRob Pike <r@golang.org>2008-07-14 20:54:55 -0700
commitc870ac239eca599f2bb3cf76522d4a3591d0cd90 (patch)
tree4d9cd55b23e6477dfcdf908b55c4718220ef2e7a /src/runtime/runtime.h
parente9a194382e5502e8948e67721bdb5484b35b438f (diff)
downloadgo-c870ac239eca599f2bb3cf76522d4a3591d0cd90.tar.xz
add sys.writefile; support for darwin only in this CL
SVN=127153
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 0b2e8ed975..dec63eaa76 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -196,8 +196,9 @@ void* mal(uint32);
uint32 cmpstring(string, string);
void initsig(void);
void traceback(uint8 *pc, uint8 *sp, G* gp);
-int32 open(byte*, int32);
+int32 open(byte*, int32, ...);
int32 read(int32, void*, int32);
+int32 write(int32, void*, int32);
void close(int32);
int32 fstat(int32, void*);