XvUngrabPort(3) libXv Functions XvUngrabPort(3)NAME
XvUngrabPort - release port grabbed for video operation
SYNOPSIS
#include <X11/extensions/Xvlib.h>
int XvUngrabPort(Display *dpy, XvPortID port, Time time);
ARGUMENTS
dpy Specifies the connection to the X server.
port Specifies the port to be released. If the port had not been previously grabbed, the request is ignored.
time Specifies the request timestamp.
DESCRIPTION XvUngrabPort(3)
releases a grabbed port. If time specifies a time before the last XvGrabPort(3) was executed, the request is ignored.
RETURN VALUES
[Success]
Returned if XvUngrabPort(3) completed successfully.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvUngrabPort(3) failed to allocate memory to process the request.
DIAGNOSTICS
[XvBadPort]
Generated if the requested port does not exist.
SEE ALSO XvGrabPort(3)X Version 11 libXv 1.0.7 XvUngrabPort(3)
Check Out this Related Man Page
XvUngrabPort(3) libXv Functions XvUngrabPort(3)NAME
XvUngrabPort - release port grabbed for video operation
SYNOPSIS
#include <X11/extensions/Xvlib.h>
int XvUngrabPort(Display *dpy, XvPortID port, Time time);
ARGUMENTS
dpy Specifies the connection to the X server.
port Specifies the port to be released. If the port had not been previously grabbed, the request is ignored.
time Specifies the request timestamp.
DESCRIPTION XvUngrabPort(3)
releases a grabbed port. If time specifies a time before the last XvGrabPort(3) was executed, the request is ignored.
RETURN VALUES
[Success]
Returned if XvUngrabPort(3) completed successfully.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvUngrabPort(3) failed to allocate memory to process the request.
DIAGNOSTICS
[XvBadPort]
Generated if the requested port does not exist.
SEE ALSO XvGrabPort(3)X Version 11 libXv 1.0.7 XvUngrabPort(3)
Hi all,
Its a gr8 pleasure being a member of this forum. Could anyone help me out re: How u release a port in Unix.
Thanks in advance..!
aces4u (2 Replies)
I'm trying to release a port 7601
I do a netstat -an which is returns
*.7601 *.* 0 0 49152 0 LISTEN
I assume 49152 is the process running the port. Is this correct? If so, how would I safely terminate the process?
thanks (2 Replies)
Unix gurus,
I have a requirement wherein I want to find the port number for a given process id.
Is it possible? If so how?
TIA,
Regards,
Praveen (3 Replies)
HI All
Am on Sun OS.While trying to start a process , we could see that the port is idle and we are not able to find the process holding that port.
Below is the result we get after using netstat command. lsof command is not yet installed in our machine.
netstat -a | grep "port no"... (5 Replies)