Commit Graph

28 Commits

Author SHA1 Message Date
pk
ac01ce3a75 sprintf() now produces a return value, like the standard counterpart does.
Also, implement vsprintf(), snprintf() and vsnprintf().
1999-02-11 14:32:00 +00:00
pk
eee0165e87 Add missing prototypes. 1999-02-11 09:10:43 +00:00
ross
aeccd73ce4 Remove memset() prototype. 1998-09-22 20:29:03 +00:00
ross
141a463d8f Prototype memset(). 1998-09-22 00:37:08 +00:00
is
4c3784857e back out last change 1998-07-27 15:10:05 +00:00
is
aaa6d634aa write prototype: void * -> const void *.
[Else the Amiga bootblock can't be built.]
1998-07-27 06:17:49 +00:00
drochner
a1d00666ac Allow to define the location of the heap at runtime #if HEAP_VARIABLE.
That helps to test libsa code in user space.
1997-06-26 19:17:40 +00:00
drochner
a0c4d8cb61 Add prototype for strerror(). 1997-06-13 14:30:44 +00:00
cgd
b581a80665 prototype lseek(). also, prototype oopen(), oclose(), oread(), and olseek()
if __INTERNAL_LIBSA_CREAD is defined.
1997-01-22 00:37:23 +00:00
cgd
b1f42c3a13 add memcmp, implemented as a wrapper around bcmp() (like memcpy() is
implemented as a wrapper around bcopy()).
1997-01-16 04:06:15 +00:00
gwr
033eec34ec Oops... get the vprintf prototype right. 1996-11-30 04:35:51 +00:00
gwr
ecfe88202c Add declaration for vprintf. 1996-11-30 04:20:14 +00:00
christos
e44c1d1f33 backout previous kprintf changes 1996-10-13 02:28:58 +00:00
christos
60d201973e printf -> kprintf, sprintf -> ksprintf 1996-10-10 22:46:11 +00:00
pk
b461ef1d17 Allow seeks on raw devices. A `f_offset' field is added to the file structure
which is maintained in lseek(), read() and write(), and passed along to
the device's strategy routine.
1996-06-21 20:09:03 +00:00
leo
b7b97847ce Some files containing more than one function are split. This reduces the
size of the resulting loader. The read_inode() function now returns the
result of the strategy function instead of success in all cases (ufs.c).
Fixes pr#1817
1996-01-13 22:25:32 +00:00
pk
d9124da47f Another round of clean up, including fixes presented by Matthias Drochner
(PR#1404). Things to be noted:
	- all IP addresses are now `struct in_addr's.
	- the function rarp_getipaddress() no longer return `myip'; in stead
	  it returns -1 on failure (errno set), 0 on success. `myip' is set
	  as a size-effect.
1995-09-18 21:19:18 +00:00
pk
82e5cf06bc Revert fs_ops read/write declarations; these return error numbers.
Get rid of some more compiler warnings.
Set errno where appropriate.
1995-09-17 00:49:37 +00:00
pk
84c517c128 Clear up some size_t/ssize_t confusion. 1995-09-14 23:45:21 +00:00
cgd
b835913465 first arg to open() is a 'const char *'. pointed out by David Brownlee
in pr 1004.
1995-04-30 03:57:54 +00:00
cgd
586427643d various attribute poisoning, don't be as quick to specify size of files[] 1995-04-22 13:57:03 +00:00
mycroft
248e7ebfb0 Update prototypes. 1995-02-21 07:16:24 +00:00
cgd
6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
cgd
6668f51c96 new RCS ID format. 1994-10-26 05:44:32 +00:00
brezak
6f0b0cdc86 Cleanup to make more ANSI compliant; checkpoint 1994-08-22 21:55:58 +00:00
brezak
c2e9be0873 Make libsa compile again by not including sys/errno.h 1994-08-04 19:39:32 +00:00
brezak
e03842d0c7 Standalone networking for network boot loaders. 1994-05-08 16:11:14 +00:00
brezak
36b52a824e CMU/4.4 stand-alone library 1994-01-26 02:03:32 +00:00