]> pd.if.org Git - pdclib/commit
PDCLIB-15 PDCLIB-16:
authorOwen Shepherd <owen.shepherd@e43.eu>
Thu, 8 Nov 2012 23:17:29 +0000 (23:17 +0000)
committerOwen Shepherd <owen.shepherd@e43.eu>
Thu, 8 Nov 2012 23:17:29 +0000 (23:17 +0000)
commit026148e2e90368c0b23192f506e15aa6197105aa
treebfc99c6074b439285ab9d5851c2d00c7436a532c
parente70d680319ea23460b891e14259f2f6b3a568291
PDCLIB-15 PDCLIB-16:
 * Move _PDCLIB_file_t to _PDCLIB_io.h, compertmentalizing dependencies.
   Removes I/O specific structures from _PDCLIB_int.h. Allows _PDCLIB_io.h
   to depend upon _PDCLIB_threadconfig.h without recursive dependencies
   happening.
 * Add "lock" member to _PDCLIB_file_t as the stream locking mutex
 * Add flockfile/ftrylockfile/funlockfile as functions which manipulate the
   locking mutex explicitly
 * Add man page on flockfile/funlockfile/ftrylockfile
 * Add flockfile/ftrylockfile/funlockfile and *_unlocked to <stdio.h> and
   <wchar.h> as appropriate
 * win32: Initialize mutex member correctly
13 files changed:
functions/_PDCLIB/filemode.c
functions/stdio/flockfile.c [new file with mode: 0644]
functions/stdio/ftrylockfile.c [new file with mode: 0644]
functions/stdio/funlockfile.c [new file with mode: 0644]
functions/wchar/wcstok.c
includes/stdio.h
includes/wchar.h
internals/_PDCLIB_aux.h
internals/_PDCLIB_int.h
internals/_PDCLIB_io.h [new file with mode: 0644]
man3/flockfile.3 [new file with mode: 0644]
platform/win32/crt0.c
platform/win32/functions/_PDCLIB/_PDCLIB_stdinit.c