Perfectly normal piece of *NIX shell scripting I would have thought, except it looks as though it is generated on a Windows machine because of the ^M part.
(posted this in the scripting forum as well, but figured it should go here) So, what's going on is this:
For our program, we had to create our own shell, and if the user pressed ctrl-c just at the cmdline, then this signal would be ignored, but if there is a foreground process running, let's... (0 Replies)
How can use signals in a C program If i want a child program to signal it's parent program that it(child) program has completed the task that it was assigned.:confused: (2 Replies)
can any one give me an example of a concurrency program in threads and signals, i.e how to deliver messages between threads using signals. thanks (0 Replies)
can any one give me an example of a concurrency program in threads and signals, i.e how to deliver messages between threads using signals. thanks (2 Replies)
Hi,
In our program, we are using SIGTERM and i tired to put break point in this function. But my debuger is unable to brake at that point.
I am working on Mac X and using XCode.
Thanks (0 Replies)
Hi,
In our program, we are using SIGTERM and i tired to put break point in this function. But my debuger is unable to brake at that point.
I am working on Mac X and using XCode.
Thanks (1 Reply)
I am having trouble with folowing
sigset_t s; // now s represents set of signals
sigemptyset(&s) ; // initialize this set and exclude all the signals from it.is it empty?
sigaddset(&s,SIGILL);//this set containts only SIGILL signal
sigprocmask(SIG_BLOCK,&s,NULL);//lost on this one
Can... (3 Replies)
I have following problem with this code..
First time trough the main loop.....
perror gives ....blocked signal:success(all other times gives illlegal seek)
Should every time trought the main loop be success??
And the perror otside of main loop...didn't change mask:success
That line of code... (2 Replies)
I know how to add signal to a set. But what if I want to add 2 or 3 signals to the set.
I know I can use sigaddset (&set,SIGBUS)....but what if I want to add SIGBUS and SIGALRM at once. Do i have to do it like this..
sigaddset (&set,SIGBUS);
sigaddset (&set,SIGALRM);
Is there another way to... (0 Replies)
Discussion started by: joker40
0 Replies
LEARN ABOUT XFREE86
xv
Xv(3X)Xv(3X)Name
Xv - X Window System video extension
Description
The Xv extension provides support for video adaptors attached to an X display. It takes the approach that a display may have one or more
video adaptors, each of which has one or more ports through which independent video streams pass.
An adaptor may be able to display video in a drawable, capture video from a drawable, or both. It translates between video encoding (NTSC,
PAL, SECAM, etc...) and drawable format (depth and visual-id pair). An adaptor may support multiple video encodings and/or multiple draw-
able formats.
Clients use Xv(3X) to gain access and manage sharing of a display's video resources. Typically, a client will use XvQueryExtension(3X) to
determine the status of the extension, XvQueryAdaptors(3X) to get a description of what video adaptors exist, and XvQueryEncodings(3X) to
get a description of what video encodings an adaptor supports.
Once a client has determined what video resources are available, it is free to put video into a drawable or get video from a drawable,
according the capabilities supported. Clients can select to receive events when video activity changes in a drawable and when port
attributes have changed.
Summary of Library Functions
The following is a summary of Xv library functions:
XvGetPortAttribute(3X) - return current port attribute value
XvGetStill(3X) - capture a single frame of video from a drawable
XvGetVideo(3X) - capture video from a drawable
XvGrabPort(3X) - lock port for exclusive use by client
XvPortNotify(3X) - event generated when port attributes change
XvPutStill(3X) - write a single frame of video to a drawable
XvPutVideo(3X) - write video into a drawable
XvQueryAdaptors(3X) - return adaptor information for a screen
XvQueryBestSize(3X) - determine the optimum drawable region size
XvQueryEncodings(3X) - return list of encodings for an adaptor
XvQueryExtension(3X) - return version and revision of extension
XvSelectPortNotify(3X) - enable or disable XvPortNotify events
XvSelectVideoNotify(3X) - enable or disable XvVideoNotify events
XvSetPortAttribute(3X) - set an attribute for a port
XvStopVideo(3X) - stop active video
XvUngrabPort(3X) - release a grabbed port
XvVideoNotify(3X) - event generated for video processing
Each of these functions is described in its own Xv man page.
XFree86 Version 4.7.0 Xv(3X)