Path: blob/main/documentation/manual-pages/ja/man9/VOP_ADVLOCK.9
18093 views
.\" -*- nroff -*- .\" .\" Copyright (c) 1996 Doug Rabson .\" .\" All rights reserved. .\" .\" This program is free software. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" %FreeBSD: src/share/man/man9/VOP_ADVLOCK.9,v 1.12 2003/10/23 02:11:14 hmp Exp % .\" .\" $FreeBSD$ .Dd June 30, 1999 .Os .Dt VOP_ADVLOCK 9 .Sh ̾�� .Nm VOP_ADVLOCK .Nd ��礻���쥳���ɥ��å� .Sh �� .In sys/param.h .In sys/vnode.h .In sys/fcntl.h .In sys/lockf.h .Ft int .Fn VOP_ADVLOCK "struct vnode *vp" "caddr_t id" "int op" "struct flock *fl" "int flags" .Sh ���� �����ϰʲ����̤�Ǥ��� .Bl -tag -width flags .It Fa vp ����Ƥ��� vnode�� .It Fa id ���å����ѹ����Ƥ��뼱�̥ȡ����� .It Fa op �¹Ԥ���٤���� ( .Xr fcntl 2 �Ȥ��Ƥ�������)�� .It Fa fl ���å��ε��ҡ� .It Fa flags �ʲ����ͤΤҤȤİʾ塣 .Bl -column F_UNLCK -offset indent .It Dv F_RDLCK Ta ��ͭ�ޤ����ɤ߹��ߥ��å� .It Dv F_UNLCK Ta ���å���� .It Dv F_WRLCK Ta ��¾Ū�ޤ��Ͻ��ߥ��å� .It Dv F_WAIT Ta ���å�����ǧ�����ޤ��Ե� .It Dv F_FLOCK Ta ���å��Τ���� .Xr flock 2 �Υ��ޥ�ƥ��������� .It Dv F_POSIX Ta ���å��Τ���� POSIX �Υ��ޥ�ƥ���������� .El .El .Pp ���Υ���ȥ�ݥ���Ȥϡ��ե��������礻���쥳���ɥ��å������ޤ��� �ۤȤ�ɤΥե����륷���ƥ�ϡ����θƤӽФ��Τ���κ�Ȥ� .Fn lf_advlock �˰�Ǥ���ޤ��� .Sh ����� �������ˤ� 0 ���֤��졢�����Ǥʤ����ˤϥ��顼���֤���ޤ��� .Sh ��Ϣ���� .Xr fcntl 2 , .Xr flock 2 , .Xr vnode 9 .Sh ��� ���Υޥ˥奢��ڡ����� .An Doug Rabson ���ޤ�����