FUZIX.git
9 years agodevide: Do not assume little-endian
Will Sowerbutts [Thu, 8 Jan 2015 21:48:12 +0000 (21:48 +0000)]
devide: Do not assume little-endian

9 years agoMerge pull request #59 from willsowerbutts/tickfix
EtchedPixels [Thu, 8 Jan 2015 21:31:04 +0000 (21:31 +0000)]
Merge pull request #59 from willsowerbutts/tickfix

Kernel: Fix definition of ticks_t

9 years agoKernel: Fix definition of ticks_t
Will Sowerbutts [Thu, 8 Jan 2015 19:38:14 +0000 (19:38 +0000)]
Kernel: Fix definition of ticks_t

9 years agotrslabel: initial quick hack volume labeller for TRS80 volumes
Alan Cox [Tue, 6 Jan 2015 23:06:15 +0000 (23:06 +0000)]
trslabel: initial quick hack volume labeller for TRS80 volumes

9 years agotrs80: fix silly bug in devhd - 256 byte sectors so we want 2,+128
Alan Cox [Tue, 6 Jan 2015 23:05:50 +0000 (23:05 +0000)]
trs80: fix silly bug in devhd - 256 byte sectors so we want 2,+128

9 years agodiskgeom: correct lba struct
Alan Cox [Tue, 6 Jan 2015 23:05:36 +0000 (23:05 +0000)]
diskgeom: correct lba struct

9 years agotrs80/core: Enable the pieces we need for TRS80 with labels
Alan Cox [Tue, 6 Jan 2015 22:25:18 +0000 (22:25 +0000)]
trs80/core: Enable the pieces we need for TRS80 with labels

This is very much a work in progress. Mostly pushing it so that Will can
compare with the blkdev work and the needs of the two models in terms
of functionality and size.

9 years agoanalysemap: allow -a to also size discard functions
Alan Cox [Tue, 6 Jan 2015 22:24:37 +0000 (22:24 +0000)]
analysemap: allow -a to also size discard functions

9 years agodiskgeom: disk geometry and mini partitions for small boxen
Alan Cox [Tue, 6 Jan 2015 21:41:46 +0000 (21:41 +0000)]
diskgeom: disk geometry and mini partitions for small boxen

9 years agoTidy up the DISCARD hack
Alan Cox [Tue, 6 Jan 2015 21:34:50 +0000 (21:34 +0000)]
Tidy up the DISCARD hack

9 years agoblkdev: Break apart blkdev_init
Alan Cox [Tue, 6 Jan 2015 12:31:14 +0000 (12:31 +0000)]
blkdev: Break apart blkdev_init

There are two reasons for doing this

1. We push a lot of arguments, and will need to push more which will break the
   planned banked kernel, as well as eating memory
2. We want to give drivers the ability to provide their own alternative scan
   methods

Doing the alloc/assign/scan sequence doesn't cost us anything but is much
more flexible.

9 years agoanalysemap: don't list _DISCARD functions in hogs.txt
Alan Cox [Tue, 6 Jan 2015 12:30:10 +0000 (12:30 +0000)]
analysemap: don't list _DISCARD functions in hogs.txt

We don't actually want to keep seeing discardable boot code all over the
hog listing, we want to see the real offenders who stay resident.

9 years agodevhd: TRS80 devhd swap was done, remove comment about it
Alan Cox [Tue, 6 Jan 2015 12:22:16 +0000 (12:22 +0000)]
devhd: TRS80 devhd swap was done, remove comment about it

9 years agolevee: Remove binaries from git tree, go with -O3
Alan Cox [Tue, 6 Jan 2015 12:13:15 +0000 (12:13 +0000)]
levee: Remove binaries from git tree, go with -O3

9 years agoTODO: update for things done
Alan Cox [Tue, 6 Jan 2015 12:12:23 +0000 (12:12 +0000)]
TODO: update for things done

9 years agoMerge pull request #57 from slp/to_upstream
EtchedPixels [Tue, 6 Jan 2015 01:48:41 +0000 (01:48 +0000)]
Merge pull request #57 from slp/to_upstream

Minor fixes for building z80pack platform.

9 years agocreatedrives: fix TMPUCP definition.
Sergio L. Pascual [Mon, 5 Jan 2015 23:41:25 +0000 (00:41 +0100)]
createdrives: fix TMPUCP definition.

9 years agocreatedrives: add more binaries to hard disk.
Sergio L. Pascual [Mon, 5 Jan 2015 23:40:34 +0000 (00:40 +0100)]
createdrives: add more binaries to hard disk.

9 years agodev/z80pack/devtty.c: Drop static attribute to make SDCC happy.
Sergio L. Pascual [Mon, 5 Jan 2015 23:35:22 +0000 (00:35 +0100)]
dev/z80pack/devtty.c: Drop static attribute to make SDCC happy.

9 years agoKernel/Makefile: move plus sign to start of statement.
Sergio L. Pascual [Mon, 5 Jan 2015 23:34:11 +0000 (00:34 +0100)]
Kernel/Makefile: move plus sign to start of statement.

9 years agoMerge pull request #55 from willsowerbutts/binman
EtchedPixels [Mon, 5 Jan 2015 18:28:48 +0000 (18:28 +0000)]
Merge pull request #55 from willsowerbutts/binman

binman: tidy up, fail when _DISCARD grows to overlap _COMMONMEM

9 years agoMerge pull request #56 from willsowerbutts/propio2
EtchedPixels [Mon, 5 Jan 2015 18:28:15 +0000 (18:28 +0000)]
Merge pull request #56 from willsowerbutts/propio2

PropIOv2

9 years agoMerge pull request #54 from willsowerbutts/mbr
EtchedPixels [Mon, 5 Jan 2015 18:27:43 +0000 (18:27 +0000)]
Merge pull request #54 from willsowerbutts/mbr

mbr: Save 16 bytes, fix bug

9 years agoKernel: mbr: Fix bug when four primary partitions are present (also saves 15 bytes)
Will Sowerbutts [Mon, 5 Jan 2015 02:32:24 +0000 (02:32 +0000)]
Kernel: mbr: Fix bug when four primary partitions are present (also saves 15 bytes)

9 years agoAdd my name to the new blkdev, mbr code
Will Sowerbutts [Mon, 5 Jan 2015 01:56:29 +0000 (01:56 +0000)]
Add my name to the new blkdev, mbr code

9 years agon8vem-mark4: Tidy up config, make ASCI0 console again, move PropIO
Will Sowerbutts [Mon, 5 Jan 2015 01:28:46 +0000 (01:28 +0000)]
n8vem-mark4: Tidy up config, make ASCI0 console again, move PropIO
register definitions into a new n8vem.h header file.

9 years agon8vem-mark4: add support for console on PropIO v2 board.
Anthony DeStefano [Mon, 5 Jan 2015 00:36:23 +0000 (19:36 -0500)]
n8vem-mark4: add support for console on PropIO v2 board.

9 years agobinman: Fix stuttering comment
Will Sowerbutts [Mon, 5 Jan 2015 01:02:00 +0000 (01:02 +0000)]
binman: Fix stuttering comment

9 years agobinman: Fail when _DISCARD grows to overlap _COMMONMEM
Will Sowerbutts [Mon, 5 Jan 2015 00:49:44 +0000 (00:49 +0000)]
binman: Fail when _DISCARD grows to overlap _COMMONMEM

9 years agobinman: Remove redundant code
Will Sowerbutts [Mon, 5 Jan 2015 00:49:12 +0000 (00:49 +0000)]
binman: Remove redundant code

9 years agombr: Save one byte
Will Sowerbutts [Mon, 5 Jan 2015 00:12:29 +0000 (00:12 +0000)]
mbr: Save one byte

9 years agoMerge pull request #53 from willsowerbutts/blkdev
EtchedPixels [Sun, 4 Jan 2015 22:59:49 +0000 (22:59 +0000)]
Merge pull request #53 from willsowerbutts/blkdev

Avoid infinite loops in mbr_parse() with faulty input

9 years agoAvoid infinite loops in mbr_parse() with faulty input
Will Sowerbutts [Sun, 4 Jan 2015 22:47:20 +0000 (22:47 +0000)]
Avoid infinite loops in mbr_parse() with faulty input

9 years agoMerge pull request #52 from willsowerbutts/blkdev
EtchedPixels [Sun, 4 Jan 2015 22:35:12 +0000 (22:35 +0000)]
Merge pull request #52 from willsowerbutts/blkdev

Introduce new "blkdev" layer for 512-byte sector partitioned drives.

9 years agoIntroduce new "blkdev" layer for 512-byte sector partitioned drives.
Will Sowerbutts [Sun, 4 Jan 2015 21:54:01 +0000 (21:54 +0000)]
Introduce new "blkdev" layer for 512-byte sector partitioned drives.

Hardware drivers are now responsible for the bare mimumum -- identify
the storage devices present, figure out how large they are, and provide
a function to read/write sectors.

The concept of "slices" goes away, instead we will use a separate
partition for each file system.

The blkdev layer handles PC-style MBR partition tables, both primary and
extended partitions, up to a maximum of 15 partitions per drive. The
partition numbering is chosen to be compatible with Linux.

Storage drivers no longer each require a separate entry in the device
switch table.

9 years agovdp1: propogate fix from VDP2
Alan Cox [Sun, 4 Jan 2015 21:03:52 +0000 (21:03 +0000)]
vdp1: propogate fix from VDP2

9 years agoMerge pull request #51 from geijoenr/toupstream
EtchedPixels [Sun, 4 Jan 2015 21:02:11 +0000 (21:02 +0000)]
Merge pull request #51 from geijoenr/toupstream

fixes msx2

9 years agopcw8256: rework the keyboard, fix a build breakage
Alan Cox [Sun, 4 Jan 2015 21:01:34 +0000 (21:01 +0000)]
pcw8256: rework the keyboard, fix a build breakage

9 years agovt.c: Add support for the '·' key
Alan Cox [Sun, 4 Jan 2015 21:01:18 +0000 (21:01 +0000)]
vt.c: Add support for the '·' key

9 years agomsx2: fix memory sizing
geijoenr [Sun, 4 Jan 2015 20:48:50 +0000 (21:48 +0100)]
msx2: fix memory sizing

it was off by 3 pages

9 years agovdp2: fix scroll_up
geijoenr [Sun, 4 Jan 2015 20:46:58 +0000 (21:46 +0100)]
vdp2: fix scroll_up

9 years agokeycode: Add more codes, move CTRL back to fix build breakage
Alan Cox [Sun, 4 Jan 2015 20:33:21 +0000 (20:33 +0000)]
keycode: Add more codes, move CTRL back to fix build breakage

9 years agoplatform-trs80/README: fix boot block file name
Faisal Abbas [Sun, 4 Jan 2015 17:15:58 +0000 (22:15 +0500)]
platform-trs80/README: fix boot block file name

9 years agoREADME: fix bin file name to fuzix.bin
Faisal Abbas [Sun, 4 Jan 2015 17:15:57 +0000 (22:15 +0500)]
README: fix bin file name to fuzix.bin

9 years agostart: Note a FIXME
Alan Cox [Sun, 4 Jan 2015 17:38:33 +0000 (17:38 +0000)]
start: Note a FIXME

9 years agopcw8256: missed a devtty.h
Alan Cox [Sun, 4 Jan 2015 17:38:22 +0000 (17:38 +0000)]
pcw8256: missed a devtty.h

9 years agotrs80: use the new keyboard defines
Alan Cox [Sun, 4 Jan 2015 17:38:02 +0000 (17:38 +0000)]
trs80: use the new keyboard defines

9 years agonc100: use the new keyboard defines
Alan Cox [Sun, 4 Jan 2015 17:37:40 +0000 (17:37 +0000)]
nc100: use the new keyboard defines

9 years agovt: Add a vt_ helper for console keyboard code input
Alan Cox [Sun, 4 Jan 2015 17:37:10 +0000 (17:37 +0000)]
vt: Add a vt_ helper for console keyboard code input

9 years agotty: make keyboard maps visible and standard names
Alan Cox [Sun, 4 Jan 2015 17:36:32 +0000 (17:36 +0000)]
tty: make keyboard maps visible and standard names

9 years agodragon: make the keyboard maps external so we can load them from apps
Alan Cox [Sun, 4 Jan 2015 17:35:16 +0000 (17:35 +0000)]
dragon: make the keyboard maps external so we can load them from apps

9 years agodevio: note FIXME on device close
Alan Cox [Sun, 4 Jan 2015 17:34:40 +0000 (17:34 +0000)]
devio: note FIXME on device close

9 years agokeycode.h: Add definitions for keycodes
Alan Cox [Sun, 4 Jan 2015 17:33:43 +0000 (17:33 +0000)]
keycode.h: Add definitions for keycodes

We encode them 0x00-0x7F: standard keycodes
0x80-0x9F: space for magic fixups in unicode
0xA0+: escape, char sequences

9 years agotrs80: correct size of shift kbd map so we don't waste memory
Alan Cox [Sun, 4 Jan 2015 14:13:33 +0000 (14:13 +0000)]
trs80: correct size of shift kbd map so we don't waste memory

9 years agoMerge pull request #45 from willsowerbutts/fixstdlib
EtchedPixels [Sun, 4 Jan 2015 12:44:06 +0000 (12:44 +0000)]
Merge pull request #45 from willsowerbutts/fixstdlib

Fixes to standard library

9 years agoMerge pull request #46 from geijoenr/toupstream
EtchedPixels [Sun, 4 Jan 2015 12:37:20 +0000 (12:37 +0000)]
Merge pull request #46 from geijoenr/toupstream

msx2: add MegaSD driver

9 years agomsx2: add MegaSD driver
geijoenr [Sun, 4 Jan 2015 01:24:28 +0000 (02:24 +0100)]
msx2: add MegaSD driver

using the generic devsd driver maybe is not the fastest option because we need
to switch slots many times when sending commands, but it works as expected and
performance is acceptable for now.

9 years agoLibrary: Remove duplicate tcflush hiding in tcflow.c -- although we
Will Sowerbutts [Sat, 3 Jan 2015 23:20:35 +0000 (23:20 +0000)]
Library: Remove duplicate tcflush hiding in tcflow.c -- although we
still don't have a tcflow()!

9 years agoLibrary: Scrub additional functions when importing the sdcc libraries.
Will Sowerbutts [Sat, 3 Jan 2015 23:09:58 +0000 (23:09 +0000)]
Library: Scrub additional functions when importing the sdcc libraries.

9 years agocmp: Use _ultoa in place of ultostr
Will Sowerbutts [Sat, 3 Jan 2015 22:49:43 +0000 (22:49 +0000)]
cmp: Use _ultoa in place of ultostr

9 years agoApplications: Remove .bin files when cleaning
Will Sowerbutts [Sat, 3 Jan 2015 22:44:30 +0000 (22:44 +0000)]
Applications: Remove .bin files when cleaning

9 years agoLibrary: Make the string functions match the prototypes in stdlib.h
Will Sowerbutts [Sat, 3 Jan 2015 22:20:03 +0000 (22:20 +0000)]
Library: Make the string functions match the prototypes in stdlib.h

Rename single-argument ltoa and ultoa to _ltoa and _ultoa.

Rename non-standard ltostr and ultostr to __ltostr and __ultostr, change
prototypes in stdlib.h to match expected arguments.

New implementations of ltoa, ultoa based on __ltostr, __ultostr.

Change vfprintf to call __ltostr and __ultostr.

Change _itoa to call _ltoa.

Now we have:

_ltoa, _ultoa, _itoa: Take a single argument (value).

__ltostr, __ultostr: Take two arguments (value, radix).

ltoa, ultoa: Take three arguments (value, buffer, radix). Calls either
__ltostr or __ultostr and copies the result into the user-provided
buffer.

9 years agosignals: cleanup chksig a little, clear mask on ignored no-op signals
Alan Cox [Sat, 3 Jan 2015 22:20:04 +0000 (22:20 +0000)]
signals: cleanup chksig a little, clear mask on ignored no-op signals

9 years agotty: small improvements
Alan Cox [Sat, 3 Jan 2015 22:03:03 +0000 (22:03 +0000)]
tty: small improvements

Shave 90 bytes off tty_inproc (still too big!)
Fix VKILL bug
Timeout/VMIN handling

9 years agoMerge pull request #44 from willsowerbutts/buildfixes2
EtchedPixels [Sat, 3 Jan 2015 20:51:30 +0000 (20:51 +0000)]
Merge pull request #44 from willsowerbutts/buildfixes2

Fixes to build the kernel

9 years agoMerge pull request #43 from willsowerbutts/buildfixes
EtchedPixels [Sat, 3 Jan 2015 20:50:32 +0000 (20:50 +0000)]
Merge pull request #43 from willsowerbutts/buildfixes

Minor improvements to Makefiles etc

9 years agoLibrary: Do not fail when c.lib symlink already exists
Will Sowerbutts [Sat, 3 Jan 2015 17:58:05 +0000 (17:58 +0000)]
Library: Do not fail when c.lib symlink already exists

9 years agoKernel: Makefile corrections
Will Sowerbutts [Sat, 3 Jan 2015 16:38:18 +0000 (16:38 +0000)]
Kernel: Makefile corrections

9 years agoKernel: Convert final uses of c_dirty to CDIRTY flag
Will Sowerbutts [Sat, 3 Jan 2015 16:37:33 +0000 (16:37 +0000)]
Kernel: Convert final uses of c_dirty to CDIRTY flag

9 years agoKernel: Fix minor typo in timer.h
Will Sowerbutts [Sat, 3 Jan 2015 16:28:04 +0000 (16:28 +0000)]
Kernel: Fix minor typo in timer.h

9 years agoMinor Makefile fixes
Will Sowerbutts [Sat, 3 Jan 2015 16:17:37 +0000 (16:17 +0000)]
Minor Makefile fixes

Libary: Link syslib.lib to c.lib (which is the name fcc expects to use)

Applications: Use fcc to build, remove reference to env.c and uname.c
which are not present in the git repository.

9 years agoMake Library/Makefile clean and build all tools
Will Sowerbutts [Sat, 3 Jan 2015 16:05:56 +0000 (16:05 +0000)]
Make Library/Makefile clean and build all tools

9 years agofcc: Make installation directory easier to configure
Will Sowerbutts [Sat, 3 Jan 2015 16:03:24 +0000 (16:03 +0000)]
fcc: Make installation directory easier to configure

9 years agoflock: add C library pieces
Alan Cox [Sat, 3 Jan 2015 15:58:53 +0000 (15:58 +0000)]
flock: add C library pieces

9 years agoerrno: match the kernel change
Alan Cox [Sat, 3 Jan 2015 15:57:59 +0000 (15:57 +0000)]
errno: match the kernel change

We add ENOLCK but also make EAGAIN match EWOULDBLOCK as Linux does. That avoids
a whole ton of annoying problems with BSD v SYS5

9 years agoswap.c: Fix off by one
Alan Cox [Sat, 3 Jan 2015 15:49:23 +0000 (15:49 +0000)]
swap.c: Fix off by one

9 years agoptab_end: redo the various process table scans
Alan Cox [Sat, 3 Jan 2015 15:41:36 +0000 (15:41 +0000)]
ptab_end: redo the various process table scans

Currently we do a compare with &ptab[maxproc], which generates a pile of
maths to scale maxproc each time around the loop. This is *silly* and its
repeated in various places where it takes space, time and registers.

Instead in start.c evaluate &ptab[maxproc] once after maxproc is computed
and save it as ptab_end. Our comparisons now now don't do the math. This
saves us 180 bytes, or nearly half the cost of adding flock support.

9 years agosyscall_fs2: correct version of staticfast fix
Alan Cox [Sat, 3 Jan 2015 15:38:12 +0000 (15:38 +0000)]
syscall_fs2: correct version of staticfast fix

9 years agoflock: fix wrong assignment due to staticfast conversion
Alan Cox [Sat, 3 Jan 2015 15:36:39 +0000 (15:36 +0000)]
flock: fix wrong assignment due to staticfast conversion

9 years agosyscall_fs2: fix inode reference count error on chmod/chown failure
Alan Cox [Sat, 3 Jan 2015 15:21:04 +0000 (15:21 +0000)]
syscall_fs2: fix inode reference count error on chmod/chown failure

9 years agoflock: Add BSD flock functionality to FUZIX
Alan Cox [Sat, 3 Jan 2015 15:14:05 +0000 (15:14 +0000)]
flock: Add BSD flock functionality to FUZIX

System 5 has its own rather more convoluted locking so for once we'll favour
BSD over System 5.

This is an initial patch for testing.

Theory:

We recover spare bits from the inode c_busy, which is now a set of flags not
a bool with 7 wasted bits. Z80 has cheap bit ops, and the dirty bit is the top
bit which is cheap on most other processors too.

The file can be in one of 16 lock states kept in four of the recovered bits
(CFLOCK bits)

     0 - unlocked
     1 - 14 that many shared locks (15+ gives you an ENOLCKS error)
     15 - exclusive

We use one of the spare O_ bits in each file object to keep a single bit
telling us this handle has a lock. The BSD API only allows one lock per file
table entry so that one bit is sufficient because we know that

       - if our lock bit is set and the file handle is exclusive lock
         then we must own the lock (as its exclusive) so we drop to 0 locks
       - if our lock bit is set and the handle is not exclusive locked
         then we can't own an exclusive lock so we must therefore be one of
         the shared locks

Total cost about 450 bytes of kernel memory and no extra data.

9 years agoutime: Add the Unix API weirdnesses for utime(filename, NULL);
Alan Cox [Sat, 3 Jan 2015 13:49:23 +0000 (13:49 +0000)]
utime: Add the Unix API weirdnesses for utime(filename, NULL);

9 years agoinode: rearrange NET bits so netd can also use them
Alan Cox [Sat, 3 Jan 2015 13:39:20 +0000 (13:39 +0000)]
inode: rearrange NET bits so netd can also use them

This lets us borrow the pipe read code for processes and the pipe write code
for the net daemon to queue data into a socket.

9 years agoMakefile: build strcasestr
Alan Cox [Sat, 3 Jan 2015 13:38:56 +0000 (13:38 +0000)]
Makefile: build strcasestr

9 years agofcc: fix typo
Alan Cox [Sat, 3 Jan 2015 13:38:31 +0000 (13:38 +0000)]
fcc: fix typo

9 years agotimer: note which sdcc version the bug affects
Alan Cox [Sat, 3 Jan 2015 13:38:01 +0000 (13:38 +0000)]
timer: note which sdcc version the bug affects

9 years agoMerge pull request #42 from geijoenr/toupstream
EtchedPixels [Sat, 3 Jan 2015 00:28:48 +0000 (00:28 +0000)]
Merge pull request #42 from geijoenr/toupstream

more msx2 patches

9 years agoMakefile: tidy up levee Makefile
Alan Cox [Sat, 3 Jan 2015 00:28:22 +0000 (00:28 +0000)]
Makefile: tidy up levee Makefile

9 years agolevee: A very small vi editor
Alan Cox [Sat, 3 Jan 2015 00:18:41 +0000 (00:18 +0000)]
levee: A very small vi editor

Still a bit large but with some clean up and tweaking ought to be ok on bigger
boxes, if a bit tight on a 48K bank.

9 years agofcc: fix bug introduced with multiple -c support
Alan Cox [Sat, 3 Jan 2015 00:12:30 +0000 (00:12 +0000)]
fcc: fix bug introduced with multiple -c support

9 years agotimer: reverse order of assigment in set_timer_duration
geijoenr [Fri, 2 Jan 2015 12:05:17 +0000 (13:05 +0100)]
timer: reverse order of assigment in set_timer_duration

  sdcc picks up wrong 'duration' from the
  stack if done the other way around

9 years agomsx2: add slot mapping
geijoenr [Fri, 2 Jan 2015 22:59:15 +0000 (23:59 +0100)]
msx2: add slot mapping

some hardware is accessed using memory mapped ports, we need to
map the slot containing the hw before doing IO, and switch back
when finished.

9 years agomsx2: fix boot from 64kb roms
geijoenr [Fri, 2 Jan 2015 22:56:12 +0000 (23:56 +0100)]
msx2: fix boot from 64kb roms

adding more stuff can make the COMMONMEM to extend beyond bank2,
in that case we need a 64Kb rom and also copy over rom bank3.

9 years agostrcasestr: another BSDism
Alan Cox [Fri, 2 Jan 2015 23:06:15 +0000 (23:06 +0000)]
strcasestr: another BSDism

9 years agosys/types.h: ssize_t
Alan Cox [Fri, 2 Jan 2015 23:00:18 +0000 (23:00 +0000)]
sys/types.h: ssize_t

9 years agoerr: Add the extended BSD errc/warnc/verrc/warnc stuff
Alan Cox [Fri, 2 Jan 2015 22:59:40 +0000 (22:59 +0000)]
err: Add the extended BSD errc/warnc/verrc/warnc stuff

9 years agosignal.h: add sig_atomic_t
Alan Cox [Fri, 2 Jan 2015 22:43:27 +0000 (22:43 +0000)]
signal.h: add sig_atomic_t

9 years agoutimes: Add utimes as a wrapper around utime
Alan Cox [Fri, 2 Jan 2015 22:41:02 +0000 (22:41 +0000)]
utimes: Add utimes as a wrapper around utime

9 years agostrlcpy/strlcat: Add these newer BSD string functions
Alan Cox [Fri, 2 Jan 2015 22:33:59 +0000 (22:33 +0000)]
strlcpy/strlcat: Add these newer BSD string functions

9 years agoerr.h: include stdarg
Alan Cox [Fri, 2 Jan 2015 22:28:08 +0000 (22:28 +0000)]
err.h: include stdarg