diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
| commit | 7b15ed9ef455b6b66c6b376898a88aef5d6a9970 (patch) | |
| tree | 3ef530baa80cdf29436ba981f5783be6b4d2202b /src/libmach/windows.c | |
| parent | 50104cc32a498f7517a51c8dc93106c51c7a54b4 (diff) | |
| download | golang-7b15ed9ef455b6b66c6b376898a88aef5d6a9970.tar.gz | |
Imported Upstream version 2011.04.13upstream/2011.04.13
Diffstat (limited to 'src/libmach/windows.c')
| -rw-r--r-- | src/libmach/windows.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libmach/windows.c b/src/libmach/windows.c index 391761c18..81fa6b6d2 100644 --- a/src/libmach/windows.c +++ b/src/libmach/windows.c @@ -8,24 +8,28 @@ int ctlproc(int pid, char *msg) { sysfatal("ctlproc unimplemented in Windows"); + return -1; } char* proctextfile(int pid) { sysfatal("proctextfile unimplemented in Windows"); + return nil; } char* procstatus(int pid) { sysfatal("procstatus unimplemented in Windows"); + return nil; } Map* attachproc(int pid, Fhdr *fp) { sysfatal("attachproc unimplemented in Windows"); + return nil; } void @@ -38,22 +42,26 @@ int procthreadpids(int pid, int *p, int np) { sysfatal("procthreadpids unimplemented in Windows"); + return -1; } int pread(int fd, void *buf, int count, int offset) { sysfatal("pread unimplemented in Windows"); + return -1; } int pwrite(int fd, void *buf, int count, int offset) { sysfatal("pwrite unimplemented in Windows"); + return -1; } int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) { sysfatal("nanosleep unimplemented in Windows"); + return -1; } |
