Marty Connor
bf871c4d03
Warnings purge of src/core
18 jaren geleden
Michael Brown
4256b3338a
Split random number generation out into core/random.c, and create the
correct prototypes for srandom(), rand() and srand().
18 jaren geleden
Michael Brown
c2708df14a
Make shutdown functions callable by OS image's exec methods.
18 jaren geleden
Michael Brown
ca3db0bf11
Added isspace() and made strtoul() accept whitespace, as per POSIX.
18 jaren geleden
Michael Brown
73e3e02367
Fix prototype of random() and move to stdlib.h
18 jaren geleden
Michael Brown
637a891264
Fix prototype of sleep() and move it to unistd.h
18 jaren geleden
Michael Brown
ea97fe42dd
Note to self: do not write code late at night
18 jaren geleden
Michael Brown
5753f2c58b
May as well add octal support to strtoul()
18 jaren geleden
Michael Brown
bbfb2e02fd
Fixed endp bug in strtoul()
18 jaren geleden
Michael Brown
65ff5357f1
Extend strtoul() to cope with hex as well as decimal. Doesn't cope
with octal yet, but we can probably live without that.
18 jaren geleden
Michael Brown
97439cb6eb
Kill off poll_interruptions(); it is lethal when we're acting as a PXE
stack or INT 13 emulator etc.
18 jaren geleden
Michael Brown
8aeead7c1c
Remove dependency on arptable[] (which is no longer used).
19 jaren geleden
Michael Brown
a4143e8c87
Split debug functions out into core/debug.c, so that they can be
automatically linked in on demand.
Corrected warnings in misc.c. strtoul() really should be
unsigned long strtoul ( const char *p, const char **endp, int base )
but such is not the ANSI standard.
19 jaren geleden
Michael Brown
8df7e74990
Fix up prototype of strtoul() to match POSIX.
19 jaren geleden
Michael Brown
903ddd9878
inet_aton doesn't overwrite the IP address unless it is valid.
20 jaren geleden
Michael Brown
0ff80b477d
Merged mcb30-realmode-redesign back to HEAD
20 jaren geleden
Michael Brown
3d6123e69a
Initial revision
20 jaren geleden