Annotation of mstools/h/sys/locking.h, revision 1.1.1.1

1.1       root        1: /***
                      2: *sys\locking.h - flags for locking() function
                      3: *
                      4: *      Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved.
                      5: *
                      6: *Purpose:
                      7: *      This file defines the flags for the locking() function.
                      8: *      [System V]
                      9: *
                     10: ****/
                     11: 
                     12: #ifndef _INC_LOCKING
                     13: 
                     14: #define _LK_UNLCK      0       /* unlock the file region */
                     15: #define _LK_LOCK       1       /* lock the file region */
                     16: #define _LK_NBLCK      2       /* non-blocking lock */
                     17: #define _LK_RLCK       3       /* lock for writing */
                     18: #define _LK_NBRLCK     4       /* non-blocking lock for writing */
                     19: 
                     20: #if !__STDC__
                     21: /* Non-ANSI names for compatibility */
                     22: #define LK_UNLCK       _LK_UNLCK
                     23: #define LK_LOCK        _LK_LOCK
                     24: #define LK_NBLCK       _LK_NBLCK
                     25: #define LK_RLCK        _LK_RLCK
                     26: #define LK_NBRLCK      _LK_NBRLCK
                     27: #endif
                     28: 
                     29: #define _INC_LOCKING
                     30: #endif /* _INC_LOCKING */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.