diff options
| author | Rob Pike <r@golang.org> | 2008-06-26 14:09:26 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2008-06-26 14:09:26 -0700 |
| commit | 3e4e83ab1ee4b860a0ed08ccbe81c059982e89e1 (patch) | |
| tree | e446a18d52b4311b7fabada1de0e78b8e72fd773 /src/runtime/runtime.h | |
| parent | 7e21ec300722023af9afb1a243e5bb6a04407dca (diff) | |
| download | go-3e4e83ab1ee4b860a0ed08ccbe81c059982e89e1.tar.xz | |
add sys.readfile()
add args to linux runtime
SVN=124961
Diffstat (limited to 'src/runtime/runtime.h')
| -rw-r--r-- | src/runtime/runtime.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 4d185a5dc7..c645992d8f 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -90,6 +90,10 @@ void* mal(uint32); uint32 cmpstring(string, string); void initsig(void); void traceback(uint8 *pc, uint8 *sp); +int32 open(byte*, int32); +int32 read(int32, void*, int32); +void close(int32); +int32 fstat(int32, void*); struct SigTab { int32 catch; @@ -124,3 +128,4 @@ void sys·intstring(int64, string); void sys·ifaces2i(Sigi*, Sigs*, Map*, void*); void sys·ifacei2i(Sigi*, Map*, void*); void sys·ifacei2s(Sigs*, Map*, void*); +void sys·readfile(string, string, bool); |
