* 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:
@ -230,12 +230,13 @@ details. */
|
||||
103: Export getprogname, setprogname.
|
||||
104: Export msgctl, msgget, msgrcv, msgsnd, semctl, semget, semop.
|
||||
105: Export sigwait.
|
||||
106: Export flock.
|
||||
*/
|
||||
|
||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||
|
||||
#define CYGWIN_VERSION_API_MAJOR 0
|
||||
#define CYGWIN_VERSION_API_MINOR 105
|
||||
#define CYGWIN_VERSION_API_MINOR 106
|
||||
|
||||
/* There is also a compatibity version number associated with the
|
||||
shared memory regions. It is incremented when incompatible
|
||||
|
Reference in New Issue
Block a user