⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ulockmgr.h

📁 Linux下fuse用户文件系统的的源代码
💻 H
字号:
/*    libulockmgr: Userspace Lock Manager Library    Copyright (C) 2006  Miklos Szeredi <miklos@szeredi.hu>    This program can be distributed under the terms of the GNU LGPL.    See the file COPYING.LIB.*/#include <stdint.h>#include <fcntl.h>#include <sys/types.h>/** * Perform POSIX locking operation * * @param fd the file descriptor * @param cmd the locking command (F_GETFL, F_SETLK or F_SETLKW) * @param lock the lock parameters * @param owner the lock owner ID cookie * @param owner_len length of the lock owner ID cookie * @return 0 on success -errno on error */int ulockmgr_op(int fd, int cmd, struct flock *lock, const void *owner,                size_t owner_len);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -