Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferenceConstantF_SETLKWActionSets or clears a lock, but causes the process to wait if the lock is busy. Argumentiargin must be a handle of structure flock. The lock is set or cleared according tothe value of structure field l_type. If the lock is busy, PXFCNTL waits for an unlock.NOTE. To get a handle for an instance of the flock structure, usePXFSTRUCTCREATE with the string 'flock' for the structure name.See Also: “PXFSTRUCTCREATE”, “IPXFCONST”, “PXFCONST”PXFCONSTPOSIX Subroutine: Returns the value associated with a constant.Module: USE IFPOSIXSyntaxCALL PXFCONST (constname, ival, ierror)constname(Input) Character. The name of one of the following constants:• STDIN_UNIT• STDOUT_UNIT• STDERR_UNIT• EINVAL• ENONAME• ENOHANDLE• EARRAYLENThe constants beginning with E signify various error values for the system variable errno.ival(Output) INTEGER(4). The returned value of the constant.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.2-276
Descriptions of the Library Routines 2For more information on these constants, see your Microsoft Visual C++ documentation(Windows* systems) or the errno.h file (Linux* systems).CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “PXFISCONST”PXFCREATPOSIX Subroutine: Creates a new file or rewrites an existing file.Module: USE IFPOSIXSyntaxCALL PXFCREAT (path, ilen, imode, ifildes, ierror)path(Input) Character. The pathname of the file.ilen(Input) INTEGER(4). The length of path string.imode(Input) INTEGER(4). The mode of the newly created file. On Windows* systems, see yourMicrosoft* Visual C++ documentation for permitted mode values. On Linux* systems, use octalfile-access mode.ifildes(Output) INTEGER(4). The file descriptor.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 LIBPXFCTERMIDPOSIX Subroutine: Generates a terminal pathname. This subroutine is only available on Linux*systems.Module: USE IFPOSIX2-277
- Page 278 and 279: 2 Intel Fortran Libraries Reference
- Page 280 and 281: 2 Intel Fortran Libraries Reference
- Page 282 and 283: 2 Intel Fortran Libraries Reference
- Page 284 and 285: 2 Intel Fortran Libraries Reference
- Page 286 and 287: 2 Intel Fortran Libraries Reference
- Page 288 and 289: 2 Intel Fortran Libraries Reference
- Page 290 and 291: 2 Intel Fortran Libraries Reference
- Page 292 and 293: 2 Intel Fortran Libraries Reference
- Page 294 and 295: 2 Intel Fortran Libraries Reference
- Page 296 and 297: 2 Intel Fortran Libraries Reference
- Page 298 and 299: 2 Intel Fortran Libraries Reference
- Page 300 and 301: 2 Intel Fortran Libraries Reference
- Page 302 and 303: 2 Intel Fortran Libraries Reference
- Page 304 and 305: 2 Intel Fortran Libraries Reference
- Page 306 and 307: 2 Intel Fortran Libraries Reference
- Page 308 and 309: 2 Intel Fortran Libraries Reference
- Page 310 and 311: 2 Intel Fortran Libraries Reference
- Page 312 and 313: 2 Intel Fortran Libraries Reference
- Page 314 and 315: 2 Intel Fortran Libraries Reference
- Page 316 and 317: 2 Intel Fortran Libraries Reference
- Page 318 and 319: 2 Intel Fortran Libraries Reference
- Page 320 and 321: 2 Intel Fortran Libraries Reference
- Page 322 and 323: 2 Intel Fortran Libraries Reference
- Page 324 and 325: 2 Intel Fortran Libraries Reference
- Page 326 and 327: 2 Intel Fortran Libraries Reference
- Page 330 and 331: 2 Intel Fortran Libraries Reference
- Page 332 and 333: 2 Intel Fortran Libraries Reference
- Page 334 and 335: 2 Intel Fortran Libraries Reference
- Page 336 and 337: 2 Intel Fortran Libraries Reference
- Page 338 and 339: 2 Intel Fortran Libraries Reference
- Page 340 and 341: 2 Intel Fortran Libraries Reference
- Page 342 and 343: 2 Intel Fortran Libraries Reference
- Page 344 and 345: 2 Intel Fortran Libraries Reference
- Page 346 and 347: 2 Intel Fortran Libraries Reference
- Page 348 and 349: 2 Intel Fortran Libraries Reference
- Page 350 and 351: 2 Intel Fortran Libraries Reference
- Page 352 and 353: 2 Intel Fortran Libraries Reference
- Page 354 and 355: 2 Intel Fortran Libraries Reference
- Page 356 and 357: 2 Intel Fortran Libraries Reference
- 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
2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>ConstantF_SETLKWActionSets or clears a lock, but causes the process to wait if the lock is busy. Argumentiargin must be a handle of structure flock. The lock is set or cleared according tothe value of structure field l_type. If the lock is busy, PXFCNTL waits for an unlock.NOTE. To get a handle for an instance of the flock structure, usePXFSTRUCTCREATE with the string 'flock' for the structure name.See Also: “PXFSTRUCTCREATE”, “IPXFCONST”, “PXFCONST”PXFCONSTPOSIX Subroutine: Returns the value associated with a constant.Module: USE IFPOSIXSyntaxCALL PXFCONST (constname, ival, ierror)constname(Input) Character. The name of one of the following constants:• STDIN_UNIT• STDOUT_UNIT• STDERR_UNIT• EINVAL• ENONAME• ENOHANDLE• EARRAYLENThe constants beginning with E signify various error values for the system variable errno.ival(Output) INTEGER(4). The returned value of the constant.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.2-276