* Makefile.in: (DLL_OFILES): Add flock.o.

* cygwin.din: Export flock.
	* flock.c: New file.
	* include/sys/file.h: Include sys/cdefs.h.
	Add function prototype for flock().
	Add some comments from BSD's header for further clarity.
	(L_SET, L_CURR, L_INCR, L_XTND): Redefine as the macros
	SEEK_SET, SEEK_CUR, SEEK_CUR, & SEEK_END respectively.
	(LOCK_SH,LOCK_EX,LOCK_NB,LOCK_UN): New macros for flock().
	* include/cygwin/version.h: Bump API minor number.
This commit is contained in:
Corinna Vinschen
2003-11-29 23:00:51 +00:00
parent b50fe8212f
commit f3a1e23eb3
6 changed files with 137 additions and 9 deletions

View File

@@ -500,6 +500,7 @@ finitef NOSIGFE
_finitef = finitef NOSIGFE
fiprintf SIGFE
_fiprintf = fiprintf SIGFE
flock SIGFE
floor NOSIGFE
_floor = floor NOSIGFE
floorf NOSIGFE