Changeset 360
- Timestamp:
- Jul 11, 2003, 5:19:47 PM (22 years ago)
- Location:
- trunk/src/emx/src/lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/lib/io/ftruncat.c
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r359 r360 7 7 #include <emx/syscalls.h> 8 8 9 int _STD(ftruncate) (int handle, longlength)9 int _STD(ftruncate) (int handle, off_t length) 10 10 { 11 11 int *pflags; -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/io/lseek.c
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r359 r360 7 7 #include <emx/syscalls.h> 8 8 9 long _STD(lseek) (int handle, longoffset, int origin)9 off_t _STD(lseek) (int handle, off_t offset, int origin) 10 10 { 11 11 int *pflags, *pla; -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/io/read.c
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r359 r360 38 38 39 39 40 int _STD(read) (int handle, void *buf, size_t nbyte)40 ssize_t _STD(read) (int handle, void *buf, size_t nbyte) 41 41 { 42 42 int n, *pflags, *pla; -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/io/truncate.c
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r359 r360 5 5 #include <fcntl.h> 6 6 7 int _STD(truncate) (c har *name, longlength)7 int _STD(truncate) (const char *name, off_t length) 8 8 { 9 9 int handle, result; -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/sys/brk.c
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r359 r360 9 9 #include "syscalls.h" 10 10 11 void *_STD(brk) (void *brkp)11 int _STD(brk) (const void *brkp) 12 12 { 13 13 ULONG base; 14 14 15 15 if (_fmutex_request (&_sys_heap_fmutex, _FMR_IGNINT) != 0) 16 return (void *)-1;16 return -1; 17 17 18 18 if (_sys_heap_obj_count == 0) … … 28 28 29 29 if (_fmutex_release (&_sys_heap_fmutex) != 0) 30 return (void *)-1;30 return -1; 31 31 32 32 if (base == 0) 33 33 { 34 34 errno = ENOMEM; 35 return (void *)-1;35 return -1; 36 36 } 37 return (void *)0;37 return 0; 38 38 } -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/sys/sbrk.c
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r359 r360 7 7 #include <sys/fmutex.h> 8 8 #include <sys/uflags.h> 9 #include <sys/types.h> 9 10 #include <emx/syscalls.h> 10 11 #include "syscalls.h" 11 12 12 void *_STD(sbrk) (int incr)13 void *_STD(sbrk) (intptr_t incr) 13 14 { 14 15 ULONG base; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.