summaryrefslogtreecommitdiff
path: root/usr/src/man/man3project
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
committerYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
commited22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab (patch)
tree3b2f488c4a03bda877119449bd63c01fa32aa6f2 /usr/src/man/man3project
parentaf8dc4373b25cce2c0bbb80f24e791f99eccbb6f (diff)
downloadillumos-joyent-ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab.tar.gz
1502 Remove conversion cruft from manpages
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Diffstat (limited to 'usr/src/man/man3project')
-rw-r--r--usr/src/man/man3project/getprojent.3project29
-rw-r--r--usr/src/man/man3project/project_walk.3project19
-rw-r--r--usr/src/man/man3project/setproject.3project33
3 files changed, 25 insertions, 56 deletions
diff --git a/usr/src/man/man3project/getprojent.3project b/usr/src/man/man3project/getprojent.3project
index 88e36300fb..653dcaa20a 100644
--- a/usr/src/man/man3project/getprojent.3project
+++ b/usr/src/man/man3project/getprojent.3project
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH getprojent 3PROJECT "5 Apr 2004" "SunOS 5.11" "Project Database Access Library Functions"
+.TH GETPROJENT 3PROJECT "Apr 5, 2004"
.SH NAME
getprojent, getprojbyname, getprojbyid, getdefaultproj, inproj,
getprojidbyname, setprojent, endprojent, fgetprojent \- project database entry
@@ -178,9 +178,9 @@ struct project {
char *pj_name; /* name of the project */
projid_t pj_projid; /* numerical project id */
char *pj_comment; /* project comment */
- char **pj_users; /* vector of pointers to
+ char **pj_users; /* vector of pointers to
project user names */
- char **pj_groups; /* vector of pointers to
+ char **pj_groups; /* vector of pointers to
project group names */
char *pj_attr; /* project attributes */
};
@@ -218,57 +218,47 @@ The \fBgetprojent()\fR, \fBgetprojbyname()\fR, \fBgetprojbyid()\fR,
\fBgetdefaultproj()\fR functions will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEINTR\fR\fR
.ad
.RS 10n
-.rt
A signal was caught during the operation.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEIO\fR\fR
.ad
.RS 10n
-.rt
An I/O error has occurred.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEMFILE\fR\fR
.ad
.RS 10n
-.rt
There are \fBOPEN_MAX\fR file descriptors currently open in the calling
process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENFILE\fR\fR
.ad
.RS 10n
-.rt
The maximum allowable number of files is currently open in the system.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBERANGE\fR\fR
.ad
.RS 10n
-.rt
Insufficient storage was supplied by \fIbuffer\fR and \fIbufsize\fR to contain
the data to be referenced by the resulting \fBproject\fR structure.
.RE
@@ -301,15 +291,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.64i) |cw(2.86i)
-lw(2.64i) |lw(2.86i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelSee Description.
+MT-Level See Description.
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3project/project_walk.3project b/usr/src/man/man3project/project_walk.3project
index 51f1dd7d44..cc48ac333c 100644
--- a/usr/src/man/man3project/project_walk.3project
+++ b/usr/src/man/man3project/project_walk.3project
@@ -3,13 +3,13 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH project_walk 3PROJECT "7 Oct 2003" "SunOS 5.11" "Project Database Access Library Functions"
+.TH PROJECT_WALK 3PROJECT "Oct 7, 2003"
.SH NAME
project_walk \- visit active project IDs on current system
.SH SYNOPSIS
.LP
.nf
-cc [ \fIflag \&.\|.\|.\fR ] \fIfile\fR\&.\|.\|. \fB-lproject\fR [ \fIlibrary \&.\|.\|.\fR ]
+cc [ \fIflag \&.\|.\|.\fR ] \fIfile\fR\&.\|.\|. \fB-lproject\fR [ \fIlibrary \&.\|.\|.\fR ]
#include <project.h>
\fBint\fR \fBproject_walk\fR(\fBint (*\fR\fIcallback\fR)(\fBconst projid_t\fR \fIproject\fR,
@@ -38,12 +38,10 @@ encountered an error, in which case \fBerrno\fR is set to indicate the error.
The \fBproject_walk()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBENOMEM\fR\fR
.ad
.RS 10n
-.rt
There is insufficient memory available to set up the initial data for the walk.
.RE
@@ -96,15 +94,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3project/setproject.3project b/usr/src/man/man3project/setproject.3project
index 521a435eaa..887285ca4e 100644
--- a/usr/src/man/man3project/setproject.3project
+++ b/usr/src/man/man3project/setproject.3project
@@ -3,13 +3,13 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH setproject 3PROJECT "10 Apr 2007" "SunOS 5.11" "Project Database Access Library Functions"
+.TH SETPROJECT 3PROJECT "Apr 10, 2007"
.SH NAME
setproject \- associate a user process with a project
.SH SYNOPSIS
.LP
.nf
-cc [ \fIflag \&.\|.\|.\fR ] \fIfile\fR\&.\|.\|. \fB-lproject\fR [ \fIlibrary \&.\|.\|.\fR ]
+cc [ \fIflag \&.\|.\|.\fR ] \fIfile\fR\&.\|.\|. \fB-lproject\fR [ \fIlibrary \&.\|.\|.\fR ]
#include <project.h>
\fBint\fR \fBsetproject\fR(\fBconst char *\fR\fIproject_name\fR, \fBconst char *\fR\fIuser_name\fR,
@@ -65,23 +65,19 @@ The \fBsetproject()\fR function will fail during project assignment or task
creation if:
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 10n
-.rt
The invoking task was created with the \fBTASK_FINAL\fR flag.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEAGAIN\fR\fR
.ad
.RS 10n
-.rt
A resource control limiting the number of LWPs or tasks in the target project
or zone has been exceeded.
.sp
@@ -90,12 +86,10 @@ A resource control on the given project would be exceeded.
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
The project ID associated with the given project is not within the range of
valid project IDs, invalid flags were specified, or \fIuser_name\fR is
\fINULL\fR.
@@ -103,23 +97,19 @@ valid project IDs, invalid flags were specified, or \fIuser_name\fR is
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 10n
-.rt
The effective user of the calling process is not superuser.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBESRCH\fR\fR
.ad
.RS 10n
-.rt
The specified user is not a valid user of the given project, \fIuser_name\fR is
not valid user name, or \fIproject_name\fR is not valid project name.
.RE
@@ -129,34 +119,28 @@ not valid user name, or \fIproject_name\fR is not valid project name.
The \fBsetproject()\fR function will fail during pool binding if:
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 10n
-.rt
No resource pool accepting default bindings exists.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 10n
-.rt
The effective user of the calling process is not superuser.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBESRCH\fR\fR
.ad
.RS 10n
-.rt
The specified resource pool is unknown
.RE
@@ -257,15 +241,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO