Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferenceSyntaxCALL PXFUNLINK (path, ilen, ierror)path(Input) Character. The name of the directory entry to remove.ilen(Input) INTEGER(4). The length of path string.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBPXFUTIMEPOSIX Subroutine: Sets file access and modification times.Module: USE IFPOSIXSyntaxCALL PXFUTIME (path, ilen, jutimbuf, ierror)path(Input) Character. The path to the file.ilen(Input) INTEGER(4). The length of path string.jutimbuf(Input) INTEGER(4) on IA-32 processors; INTEGER(8) on Intel Itanium processors. A handle ofstructure utimbuf.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFUTIME subroutine sets access and modification times for the file pointed to by path. Thetime values are retrieved from structure utimbuf.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB2-356
Descriptions of the Library Routines 2PXFWAITPOSIX Subroutine: Waits for a child process. This subroutine is only available on Linux*systems.Module: USE IFPOSIXSyntaxCALL PXFWAIT (istat, iretpid, ierror)istat(Output) INTEGER(4). The returned status of the child process.iretpid(Output) INTEGER(4). The process ID of the stopped child process.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFWAIT subroutine suspends execution of the current process until a child has exited, oruntil a signal is delivered whose action terminates the current process or calls a signal handlingroutine. If the child has already exited by the time of the call (a "zombie" process), a return isimmediately made. Any system resources used by the child are freed.The subroutine returns in iretpid the value of the process ID of the child that exited, or zero if nochild was available. The returned value in istat can be used in subroutines IPXFWEXITSTATUS,IPXFWSTOPSIG, IPXFWTERMSIG, PXFWIFEXITED, PXFWIFSIGNALLED, andPXFWIFSTOPPED.See Also: “PXFWAITPID”, “IPXFWEXITSTATUS”, “IPXFWSTOPSIG”, “IPXFWTERMSIG”,“PXFWIFEXITED”, “PXFWIFSIGNALED”, “PXFWIFSTOPPED”Exampleprogram t1use ifposixinteger(4) ipid, istat, ierror, ipid_ret, istat_retprint *," the child process will be born"call PXFFORK(IPID, IERROR)call PXFGETPID(IPID_RET,IERROR)if(IPID.EQ.0) thenprint *," I am a child process"print *," My child's pid is", IPID_RETcall PXFGETPPID(IPID_RET,IERROR)2-357
- Page 358 and 359: 2 Intel Fortran Libraries Reference
- Page 360 and 361: 2 Intel Fortran Libraries Reference
- Page 362 and 363: 2 Intel Fortran Libraries Reference
- Page 364 and 365: 2 Intel Fortran Libraries Reference
- Page 366 and 367: 2 Intel Fortran Libraries Reference
- Page 368 and 369: 2 Intel Fortran Libraries Reference
- Page 370 and 371: 2 Intel Fortran Libraries Reference
- Page 372 and 373: 2 Intel Fortran Libraries Reference
- Page 374 and 375: 2 Intel Fortran Libraries Reference
- Page 376 and 377: 2 Intel Fortran Libraries Reference
- Page 378 and 379: 2 Intel Fortran Libraries Reference
- Page 380 and 381: 2 Intel Fortran Libraries Reference
- Page 382 and 383: 2 Intel Fortran Libraries Reference
- Page 384 and 385: 2 Intel Fortran Libraries Reference
- Page 386 and 387: 2 Intel Fortran Libraries Reference
- Page 388 and 389: 2 Intel Fortran Libraries Reference
- Page 390 and 391: 2 Intel Fortran Libraries Reference
- Page 392 and 393: 2 Intel Fortran Libraries Reference
- Page 394 and 395: 2 Intel Fortran Libraries Reference
- Page 396 and 397: 2 Intel Fortran Libraries Reference
- Page 398 and 399: 2 Intel Fortran Libraries Reference
- Page 400 and 401: 2 Intel Fortran Libraries Reference
- Page 402 and 403: 2 Intel Fortran Libraries Reference
- Page 404 and 405: 2 Intel Fortran Libraries Reference
- Page 406 and 407: 2 Intel Fortran Libraries Reference
- Page 410 and 411: 2 Intel Fortran Libraries Reference
- Page 412 and 413: 2 Intel Fortran Libraries Reference
- Page 414 and 415: 2 Intel Fortran Libraries Reference
- Page 416 and 417: 2 Intel Fortran Libraries Reference
- Page 418 and 419: 2 Intel Fortran Libraries Reference
- Page 420 and 421: 2 Intel Fortran Libraries Reference
- Page 422 and 423: 2 Intel Fortran Libraries Reference
- Page 424 and 425: 2 Intel Fortran Libraries Reference
- Page 426 and 427: 2 Intel Fortran Libraries Reference
- Page 428 and 429: 2 Intel Fortran Libraries Reference
- Page 430 and 431: 2 Intel Fortran Libraries Reference
- Page 432 and 433: 2 Intel Fortran Libraries Reference
- Page 434 and 435: 2 Intel Fortran Libraries Reference
- Page 436 and 437: 2 Intel Fortran Libraries Reference
- Page 438 and 439: 2 Intel Fortran Libraries Reference
- Page 440 and 441: 2 Intel Fortran Libraries Reference
- Page 442 and 443: 2 Intel Fortran Libraries Reference
- Page 444 and 445: 2 Intel Fortran Libraries Reference
- Page 446 and 447: 2 Intel Fortran Libraries Reference
- Page 448 and 449: 2 Intel Fortran Libraries Reference
- Page 450 and 451: 2 Intel Fortran Libraries Reference
- Page 452 and 453: 2 Intel Fortran Libraries Reference
- Page 454 and 455: 2 Intel Fortran Libraries Reference
- Page 456 and 457: 2 Intel Fortran Libraries Reference
2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>SyntaxCALL PXFUNLINK (path, ilen, ierror)path(Input) Character. The name of the directory entry to remove.ilen(Input) INTEGER(4). The length of path string.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBPXFUTIMEPOSIX Subroutine: Sets file access and modification times.Module: USE IFPOSIXSyntaxCALL PXFUTIME (path, ilen, jutimbuf, ierror)path(Input) Character. The path to the file.ilen(Input) INTEGER(4). The length of path string.jutimbuf(Input) INTEGER(4) on IA-32 processors; INTEGER(8) on Intel Itanium processors. A handle ofstructure utimbuf.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFUTIME subroutine sets access and modification times for the file pointed to by path. Thetime values are retrieved from structure utimbuf.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB2-356