summaryrefslogtreecommitdiff
path: root/lib/libXv/man/XvGetPortAttribute.man
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 18:54:57 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 18:54:57 +0000
commit13dd7296324d74df6d1bba48deb253beaf895a15 (patch)
treea63ebdc4ffeb47638827af8b9f3b5faac85019d4 /lib/libXv/man/XvGetPortAttribute.man
parent0faf6b0324b05d420a232f75648ab55507359beb (diff)
update to libXv 1.0.5
Diffstat (limited to 'lib/libXv/man/XvGetPortAttribute.man')
-rw-r--r--lib/libXv/man/XvGetPortAttribute.man92
1 files changed, 43 insertions, 49 deletions
diff --git a/lib/libXv/man/XvGetPortAttribute.man b/lib/libXv/man/XvGetPortAttribute.man
index 9e6fcb36e..489db2d65 100644
--- a/lib/libXv/man/XvGetPortAttribute.man
+++ b/lib/libXv/man/XvGetPortAttribute.man
@@ -1,21 +1,22 @@
-.TH XvGetPortAttribute __libmansuffix__ __vendorversion__
-.SH Name
+'\" t
+.TH XvGetPortAttribute __libmansuffix__ __vendorversion__ "libXv Functions"
+.SH NAME
XvGetPortAttribute \- return current port attribute value
.\"
-.SH Syntax
+.SH SYNOPSIS
.B #include <X11/extensions/Xvlib.h>
.sp
.nf
-.BI "XvGetPortAttribute(Display *" dpy ", XvPortID " port ",
-.BI " Atom " attribute ", int " p_value ");"
+.BI "int XvGetPortAttribute(Display *" dpy ", XvPortID " port ","
+.BI " Atom " attribute ", int " p_value ");"
.fi
-.SH Arguments
+.SH ARGUMENTS
.\"
.IP \fIdpy\fR 12
Specifies the connection to the X server.
.IP \fIport\fR 12
Specifies the port, associated with the given display, for
-which the attribute values are to be returned.
+which the attribute values are to be returned.
.IP \fIattribute\fR 12
An atom that identifies the attribute to be queried by this
request. Control atoms are obtained using the XInternAtom
@@ -24,59 +25,52 @@ request with a string from the following table.
Pointer to the location where the attribute value is written on
return.
.\"
-.SH Description
+.SH DESCRIPTION
.\"
.PP
-XvGetPortAttribute(__libmansuffix__) returns the current value of the requested
-port attribute in the integer pointed to by \fIp_value\fR.
-The attribute is identified using an Atom that equates to the attribute name.
+.BR XvGetPortAttribute (__libmansuffix__)
+returns the current value of the requested
+port attribute in the integer pointed to by \fIp_value\fR.
+The attribute is identified using an Atom that equates to the attribute name.
The XInternAtom request can be used with one of the strings
below to return a matching Atom.
-.bp
.PP
-.\" .TS
-.\" tab(@);
-.\" lfHB lfHB lfHB
-.\" lfR lfR lfR .
-.\" _
-.\" .PP
-.\" .sp 4p
-.\" Attribute String@Type@Default
-.\" .sp 6p
-.\" _
-.\" .sp 6p
-.\" "XV_ENCODING"@XvEncodingID@Server dependent
-.\" "XV_HUE"@[-1000...1000]@0
-.\" "XV_SATURATION"@[-1000...1000]@0
-.\" "XV_BRIGHTNESS"@[-1000...1000]@0
-.\" "XV_CONTRAST"@[-1000...1000]@0
-.\" .sp 6p
-.\" .TE
-.nf
-Attribute String Type Default
-
-"XV_ENCODING" XvEncodingID Server dependent
-"XV_HUE" [-1000...1000] 0
-"XV_SATURATION" [-1000...1000] 0
-"XV_BRIGHTNESS" [-1000...1000] 0
-"XV_CONTRAST" [-1000...1000] 0
-.fi
-.SH Returned Values
+.TS
+tab(@);
+lfHB lfHB lfHB
+lfR lfR lfR .
+_
+.PP
+.sp 4p
+Attribute String@Type@Default
+.sp 6p
+_
+.sp 6p
+"XV_ENCODING"@XvEncodingID@Server dependent
+"XV_HUE"@[-1000...1000]@0
+"XV_SATURATION"@[-1000...1000]@0
+"XV_BRIGHTNESS"@[-1000...1000]@0
+"XV_CONTRAST"@[-1000...1000]@0
+.sp 6p
+.TE
+.SH RETURN VALUES
.IP [Success] 8
-Returned if XvGetPortAttribute(__libmansuffix__) completed successfully.
+Returned if
+.BR XvGetPortAttribute (__libmansuffix__)
+completed successfully.
.IP [XvBadExtension] 8
Returned if the Xv extension is unavailable.
.IP [XvBadAlloc] 8
-Returned if XvGetPortAttribute(__libmansuffix__) failed to allocate memory to process
-the request.
-.SH Diagnostics
+Returned if
+.BR XvGetPortAttribute (__libmansuffix__)
+failed to allocate memory to process the request.
+.SH DIAGNOSTICS
.IP [XvBadPort] 8
Generated if the requested port does not exist.
.IP [BadMatch] 8
-Generated if the requested attribute atom does not specify an attribute
+Generated if the requested attribute atom does not specify an attribute
supported by the adaptor.
-.SH See Also
+.SH SEE ALSO
.\"
-XvSetPortAttribute(__libmansuffix__), XvPortNotify(__libmansuffix__)
-.br
-
+.BR XvSetPortAttribute (__libmansuffix__),
+.BR XvPortNotify (__libmansuffix__)