12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of the Library Routines 2KILLResults:The result type is character with length 10. The result is the Julian date, in the form YYYYDDD,followed by three spaces.The Julian date is a seven-digit number whose first four digits are the year, and whose final threedigits represent the day of the year (1 for January 1, 366 for December 31 of a leap year, and soon). For example, the Julian date for February 1, 1999 is 1999032.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: the DATE_AND_TIME intrinsic procedure in the Language <strong>Reference</strong>Portability Function: Sends a signal to the process given by ID.Module: USE IFPORTSyntaxresult = KILL (pid, signum)pid(Input) INTEGER(4). ID of a process to be signaled.signum(Input) INTEGER(4). A signal value. For the definition of signal values, see the “SIGNAL”function.Results:The result type is INTEGER(4). The result is zero if the call was successful; otherwise, an errorcode. Possible error codes are:• EINVAL: The signum is not a valid signal number, or PID is not the same as getpid( ) andsignum does not equal SIGKILL.• ESRCH: The given PID could not be found.• EPERM: The current process does not have permission to send a signal to the process givenby PID.On Windows* systems, arbitrary signals can be sent only to the calling process (where pid =getpid( )). Other processes can send only the SIGKILL signal (signum = 9), and only if the callingprocess has permission.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB2-189

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!