Deleted Added
sdiff udiff text old ( 188569 ) new ( 188604 )
full compact
1.\"-
2.\" Copyright (c) 2008 Dag-Erling Co��dan Sm��rgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: projects/quota64/lib/libutil/quotafile.3 188569 2009-02-13 06:17:53Z mckusick $
27.\"
28.Dd November 4, 2008
29.Dt QUOTAFILE 3
30.Os
31.Sh NAME
32.Nm quota_open
33.Nm quota_create
34.Nm quota_read
35.Nm quota_write
36.Nm quota_close
37.Nd "Manipulate quota files"
38.Sh LIBRARY
39.Lb libutil
40.Sh SYNOPSIS
41.In ufs/ufs/quota.h
42.In libutil.h
43.Ft "struct quotafile *"
44.Fn quota_open "const char *path"
45.Ft "struct quotafile *"
46.Fn quota_create "const char *path"
47.Ft int
48.Fn quota_read "struct quotafile *qf" "struct dqblk *dqb" "int id"
49.Ft int
50.Fn quota_write "struct quotafile *qf" "const struct dqblk *dqb" "int id"
51.Ft int
52.Fn quota_close "struct quotafile *qf"
53.Ft int
54.Fn hasquota "struct fstab *fs" "int type" "char **qfnamep"
55.Sh DESCRIPTION
56.Sh RETURN VALUES
57.Sh SEE ALSO
58.Xr quotactl 2 ,
59.Xr quota.user 5 ,
60.Xr quota.group 5
61.Sh HISTORY
62The
63.Nm
64functions first appeared in
65.Fx 8.0 .
66.Sh AUTHORS
67.An -nosplit
68The
69.Nm
70functions and this manual page were written by
71.An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org .