pfm_init(3ncs)pfm_init(3ncs)Name
pfm_init - initialize the PFM package
Syntax
#include <idl/c/base.h>
#include <idl/c/pfm.h>
void pfm_$init(flags)
unsigned long flags;
Arguments
flags
pfm_init_signal_handlers
Currently the only valid flag value. A flag's variable must be set to contain this value or the call will perform no ini-
tialization . A call to pfm_init_signal_handlers causes C signals to be intercepted and converted to PFM signals. On ULTRIX
and VMS systems, the signals intercepted are SIGINIT, SIGILL, SIGFPE, SIGTERM, SIGHUP, SIGQUIT, SIGTRAP, SIGBUS, SIGSEGV, and
SIGSYS.
Description
The call to establishes a default set of signal handlers for the routine. The call to should be made prior to the application's use of all
other runtime RPC routines. This enables the RPC runtime system to catch and report all fault and/or interrupt signals that may occur dur-
ing normal operation. Additionally, the user may provide a fault processing clean-up handler for application-specific exit handling.
FilesSee Alsointro(3ncs), pfm_cleanup(3ncs)pfm_init(3ncs)
Check Out this Related Man Page
pfm_enable_faults(3ncs)pfm_enable_faults(3ncs)Name
pfm_enable_faults - enable asynchronous faults
Syntax
#include <idl/c/base.h>
#include <idl/c/pfm.h>
void pfm_$enable_faults()
Description
The routine enables asynchronous faults after they have been inhibited by a call to causes the operating system to pass asynchronous faults
on to the calling process.
While faults are inhibited, the operating system holds at most one asynchronous fault. Consequently, when returns, there can be at most
one fault waiting on the process. If more than one fault was received between routines to and the process receives the first asynchronous
fault received while faults were inhibited.
Diagnostics
This section lists the status codes for errors returned by this routine.
pfm_$bad_rls_order Attempted to release a clean-up handler out of order.
pfm_$cleanup_not_found
There is no pending clean-up handler.
pfm_$cleanup_set A clean-up handler was established successfully.
pfm_$cleanup_set_signalled
Attempted to use pfm_$cleanup_set as a signal.
pfm_$invalid_cleanup_rec
Passed an invalid clean-up record to a routine.
pfm_$no_space Cannot allocate storage for a clean-up handler.
FilesSee Alsointro(3ncs), pfm_enable(3ncs), pfm_inhibit_faults(3ncs)pfm_enable_faults(3ncs)
<h1>A short history of UNIX</h1>
<p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell
Laboratories, which is the research arm of the giant American corporation ATT. He and many
colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu.
In other words is there kind of an equal Linux with Unix?
Also what do I need to... (10 Replies)
I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)