newlib-cygwin/winsup/cygwin/include
Corinna Vinschen a998dd7055 * fhandler.cc (fhandler_base::dup): Drop setting flags in the parent.
Implement advisory file locking.
	* cygheap.h (struct init_cygheap): Add inode_list member.
	* cygwin.din (lockf): Export.
	* dcrt0.cc (child_info_spawn::handle_spawn): Call
	fixup_lockf_after_exec.
	* dtable.h (class dtable): Add fhandler_disk_file as friend class.
	* fhandler.cc (fhandler_base::close): Call del_my_locks if node is set.
	(fhandler_base::fhandler_base): Initialize node to NULL.
	(fhandler_base::fixup_after_fork): Ditto.
	* fhandler.h (class fhandler_base): Add member node.
	* fhandler_disk_file.cc (fhandler_disk_file::lock): Delete.
	* flock.cc: Implement all advisory file locking here.
	(fhandler_disk_file::lock): Implement here.
	(flock): Call fcntl with F_FLOCK bit set.  Remove test main function.
	(lockf): New function.
	* fork.cc (frok::child): Call fixup_lockf_after_fork.
	* ntdll.h (DIRECTORY_ALL_ACCESS): Define.
	(struct _OBJECT_BASIC_INFORMATION): Define.
	(enum _EVENT_TYPE): Define.
	(NtCreateDirectoryObject): Declare.
	(NtCreateEvent): Declare.
	(NtCreateMutant): Declare.
	(NtOpenEvent): Declare.
	(NtOpenMutant): Declare.
	* include/cygwin/version.h: Bump API minor number.
2008-03-24 14:48:58 +00:00
..
arpa * Makefile.in (DLL_OFILES): Add minires-os-if.o and minires.o. 2006-12-11 19:59:06 +00:00
asm * autoload.cc (GetIpForwardTable): Define. 2007-06-14 16:02:32 +00:00
attr * fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused 2008-02-11 19:03:36 +00:00
cygwin * fhandler.cc (fhandler_base::dup): Drop setting flags in the parent. 2008-03-24 14:48:58 +00:00
machine
net
netinet 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
sys * include/sys/cygwin.h: Revert erroneous move of `#ifdef WINVER' to 2008-03-18 09:57:33 +00:00
a.out.h
byteswap.h
ctype.h
dlfcn.h
elf.h
endian.h
err.h
exceptions.h
fcntl.h * autoload.cc (NtSetInformationFile): Define. 2006-08-07 19:29:14 +00:00
features.h white space 2006-05-28 15:50:14 +00:00
fnmatch.h
fts.h
ftw.h * include/ftw.h: Include sys/cdefs.h. 2007-01-28 11:27:05 +00:00
getopt.h * include/getopt.h (getopt_long_only): Declare. 2006-01-09 12:41:54 +00:00
glob.h * glob.c: Remove. 2006-10-17 17:34:56 +00:00
icmp.h
ifaddrs.h * autoload.cc (WSAIoctl): Remove. 2007-06-21 15:57:54 +00:00
inttypes.h
io.h
lastlog.h
libgen.h
limits.h * cygheap.cc (cwcsdup): New function. 2008-02-14 16:47:11 +00:00
mapi.h
memory.h
mntent.h * include/mntent.h: Add missing #include. 2006-02-13 19:01:32 +00:00
mqueue.h * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr 2007-02-15 17:49:25 +00:00
netdb.h * net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6 2007-02-01 15:54:40 +00:00
paths.h
poll.h
pthread.h * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty. 2007-02-07 17:22:40 +00:00
pty.h
resolv.h * Makefile.in (DLL_OFILES): Add minires-os-if.o and minires.o. 2006-12-11 19:59:06 +00:00
sched.h
search.h * include/search.h: Reinstate node_t definition. 2007-06-17 00:31:27 +00:00
semaphore.h * cygwin.din (sem_unlink): Export. 2007-02-20 15:48:04 +00:00
stdint.h * include/stdint.h (WINT_MIN): Fix sign. 2007-04-06 08:25:28 +00:00
strings.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
sysexits.h
syslog.h
termio.h
tzfile.h
utmpx.h * cygwin.din (updwtmpx): Export. 2006-02-02 22:46:37 +00:00