source: svn/trunk/main/xc_lock.h @ 982

Last change on this file since 982 was 982, checked in by Xuefer, 7 years ago

move files to subdirs

  • Property svn:eol-style set to native
File size: 391 bytes
1typedef struct _xc_lock_t xc_lock_t;
3xc_lock_t *xc_fcntl_init(const char *pathname);
4void xc_fcntl_destroy(xc_lock_t *lck);
5void xc_fcntl_lock(xc_lock_t *lck);
6void xc_fcntl_unlock(xc_lock_t *lck);
8#define xc_lock_init(name)  xc_fcntl_init(name)
9#define xc_lock_destroy(fd) xc_fcntl_destroy(fd)
10#define xc_lock(fd)         xc_fcntl_lock(fd)
11#define xc_unlock(fd)       xc_fcntl_unlock(fd)
Note: See TracBrowser for help on using the repository browser.