4d6c899474
* DISCLAIMER: Ditto. * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors section CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. * crt1.c: Ditto. * crtdll.dev: Ditto. * dllcrt1.c: Ditto. * dllmain.c: Ditto. * gccmain.c: Ditto. * init.c: Ditto. * isascii.c: Ditto. * iscsym.c: Ditto. * iscsymf.c: Ditto. * jamfile: Ditto. * main.c: Ditto. * msvcrt.def.in: Ditto. * strcasecmp.c: Ditto. * toascii.c: Ditto. * wcscmpi.c: Ditto. * include/assert.h: Ditto. * include/conio.h: Ditto. * include/ctype.h: Ditto. * include/direct.h: Ditto. * include/dirent.h: Ditto. * include/dos.h: Ditto. * include/errno.h: Ditto. * include/excpt.h: Ditto. * include/fcntl.h: Ditto. * include/float.h: Ditto. * include/io.h: Ditto. * include/locale.h: Ditto. * include/malloc.h: Ditto. * include/math.h: Ditto. * include/process.h: Ditto. * include/setjmp.h: Ditto. * include/share.h: Ditto. * include/signal.h: Ditto. * include/stdio.h: Ditto. * include/stdlib.h: Ditto. * include/string.h: Ditto. * include/tchar.h: Ditto. * include/time.h: Ditto. * include/wchar.h: Ditto. * include/sys/locking.h: Ditto. * include/sys/param.h: Ditto. * include/sys/stat.h: Ditto. * include/sys/timeb.h: Ditto. * include/sys/types.h: Ditto. * include/sys/utime.h: Ditto. * mingwex/dirent.c: Ditto.
34 lines
800 B
C
34 lines
800 B
C
/*
|
|
* share.h
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is a part of the mingw-runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER within the package.
|
|
*
|
|
* Constants for file sharing functions.
|
|
*
|
|
*/
|
|
|
|
#ifndef _SHARE_H_
|
|
#define _SHARE_H_
|
|
|
|
/* All the headers include this file. */
|
|
#include <_mingw.h>
|
|
|
|
#define _SH_COMPAT 0x00 /* Compatibility */
|
|
#define _SH_DENYRW 0x10 /* Deny read/write */
|
|
#define _SH_DENYWR 0x20 /* Deny write */
|
|
#define _SH_DENYRD 0x30 /* Deny read */
|
|
#define _SH_DENYNO 0x40 /* Deny nothing */
|
|
|
|
#ifndef _NO_OLDNAMES
|
|
|
|
/* Non ANSI names */
|
|
#define SH_DENYRW _SH_DENYRW
|
|
#define SH_DENYWR _SH_DENYWR
|
|
#define SH_DENYRD _SH_DENYRD
|
|
#define SH_DENYNO _SH_DENYNO
|
|
|
|
#endif /* Not _NO_OLDNAMES */
|
|
|
|
#endif /* Not _SHARE_H_ */
|