Unix and Linux Discussions Tagged with port |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
9,703 |
Red Hat |
|
|
|
0 |
19,435 |
Programming |
|
|
|
3 |
5,421 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,445 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
19,101 |
Solaris |
|
|
|
8 |
5,137 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
4,076 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
11,469 |
SCO |
|
|
|
7 |
10,724 |
Cybersecurity |
|
|
|
10 |
8,056 |
Shell Programming and Scripting |
|
|
|
33 |
37,342 |
Solaris |
|
|
|
5 |
3,782 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
5,876 |
AIX |
|
|
|
1 |
3,843 |
Linux |
|
|
|
2 |
4,169 |
Solaris |
|
|
|
5 |
4,207 |
AIX |
|
|
|
5 |
423,044 |
Shell Programming and Scripting |
|
|
|
1 |
3,164 |
IP Networking |
|
|
|
2 |
6,042 |
Shell Programming and Scripting |
|
|
|
1 |
2,141 |
Solaris |
|
|
|
3 |
2,592 |
Shell Programming and Scripting |
|
|
|
2 |
3,648 |
Programming |
|
|
|
1 |
4,791 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,294 |
HP-UX |
|
|
|
14 |
83,521 |
Shell Programming and Scripting |
|
|
|
23 |
58,867 |
Solaris |
|
|
|
8 |
22,256 |
Linux |
|
|
|
0 |
21,905 |
IP Networking |
|
|
|
1 |
5,711 |
Programming |
|
|
|
1 |
18,671 |
Programming |
|
|
|
3 |
6,472 |
Shell Programming and Scripting |
|
|
|
0 |
2,025 |
Software Releases - RSS News |
|
|
|
7 |
7,394 |
Shell Programming and Scripting |
|
|
|
0 |
7,882 |
Shell Programming and Scripting |
|
|
|
4 |
10,044 |
Shell Programming and Scripting |
|
|
|
11 |
20,479 |
IP Networking |
|
|
|
6 |
11,441 |
Programming |
|
|
|
0 |
5,444 |
Programming |
|
|
|
0 |
11,304 |
IP Networking |
|
|
|
1 |
4,598 |
Solaris |
XvGrabPort(3) libXv Functions XvGrabPort(3)
NAME
XvGrabPort - lock port for exclusive use by client
SYNOPSIS
#include <X11/extensions/Xvlib.h>
int XvGrabPort(Display *dpy, XvPortID port, Time time);
ARGUMENTS
dpy Specifies the connection to the X server.
port Defines the port to be grabbed.
time Specifies the request timestamp.
DESCRIPTION
XvGrabPort(3) grabs a port. Once a client grabs a port, only that client can make video requests to that port.
If the time is before the current port time, the XvGrabPort request is ignored and XvInvalidTime is returned. If the port is already
grabbed by another client, XvAlreadyGrabbed is returned. Otherwise it returns a status of Success. The port time is updated when the fol-
lowing requests are processed: XvGrabPort(3), XvUngrabPort(3), XvPutVideo(3), XvPutStill(3), XvGetVideo(3), XvGetStill(3).
If the port is actively processing video for another client, the video is preempted, and an XvVideoNotify event with detail XvPreempted is
generated for its drawable.
RETURN VALUES
[Success]
Returned if XvGrabPort(3) completed successfully.
[XvInvalidTime]
Returned if requested time is older than the current port time.
[XvAlreadyGrabbed]
Returned if the port is already grabbed by another client.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvGrabPort(3) failed to allocate memory to process the request.
DIAGNOSTICS
[XvBadPort] Generated if the requested port does not exist.
SEE ALSO
XvUngrabPort(3), XvVideoNotify(3)
X Version 11 libXv 1.0.7 XvGrabPort(3)