Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferenceABORT• “Miscellaneous Run-Time Routines”Most of these routines require a USE IFCORE statement to obtain the proper interfaces.Required USE statements are prominent in the routine descriptions.In addition to the appropriate USE statement, for some routines you must specify the types oflibraries to be used when linking. For more information, see the following sections in Volume I ofyour user’s guide:• "Specifying Path, Library, and Include Directories"• "Libraries Options"Also see "Understanding Errors During the Build Process" in Volume I of your user’s guide.In the description of routines, pointers and handles are INTEGER(4) on IA-32 processors;INTEGER(8) on Intel® Itanium® processors.Portability Subroutine: Flushes and closes I/O buffers, and terminates program execution.Module: USE IFPORTSyntaxCALL ABORT [string]string(Input; optional) Character*(*). Allows you to specify an abort message at program termination.When ABORT is called, "abort:" is written to external unit 0, followed by string. If omitted, thedefault message written to external unit 0 is "abort: Fortran Abort Called."CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: the EXIT and STOP statements in the Language ReferenceExampleUSE IFPORT! The following prints "abort: Fortran Abort Called"CALL ABORT! The following prints "abort: Out of here!"Call ABORT ("Out of here!")2-2
Descriptions of the Library Routines 2ABOUTBOXQQACCESSQuickWin Function: Specifies the information displayed in the message box that appears whenthe user selects the About command from a QuickWin application's Help menu. This function isonly available on Windows* systems.Module: USE IFQWINSyntaxresult = ABOUTBOXQQ (cstring)cstring(Input; output) Character*(*). Null-terminated C string.Results:The value of the result is INTEGER(4). It is zero if successful; otherwise, nonzero.If your program does not call ABOUTBOXQQ, the QuickWin run-time library supplies a defaultstring. For further discussion, see "Using QuickWin" in your user’s guide.CompatibilityQUICKWIN GRAPHICS LIBExampleConsider the following:USE IFQWININTEGER(4) dummy! Set the About box messagedummy = ABOUTBOXQQ ('Matrix Multiplier\r Version 1.0'C)Portability Function: Determines if a file exists and how it can be accessed.Module: USE IFPORTSyntaxresult = ACCESS (name, mode)name(Input) Character*(*). Name of the file whose accessibility is to be determined.2-3
- Page 3 and 4: ContentsAbout This ManualProduct We
- Page 5 and 6: ContentsCOMMITQQ...................
- Page 7 and 8: ContentsGETDRIVESIZEQQ.............
- Page 9 and 10: ContentsISATTY.....................
- Page 11 and 12: ContentsPXFCFGETISPEED ............
- Page 13 and 14: ContentsPXFPUTC ...................
- Page 15 and 16: ContentsSCROLLTEXTWINDOW ..........
- Page 17 and 18: ContentsSSWRQQ ....................
- Page 19 and 20: About This ManualThis manual descri
- Page 21 and 22: About This ManualAssociated Intel D
- Page 23 and 24: About This ManualCTRL{choice1 | cho
- Page 25 and 26: About This ManualPlatformLanguage O
- Page 27 and 28: Overview of the Libraries 1This cha
- Page 29 and 30: Overview of the Libraries 1Table 1-
- Page 31 and 32: Overview of the Libraries 1Table 1-
- Page 33 and 34: Overview of the Libraries 1Table 1-
- Page 35 and 36: Overview of the Libraries 1Table 1-
- Page 37 and 38: Overview of the Libraries 1TimeThe
- Page 39 and 40: Overview of the Libraries 1Table 1-
- Page 41 and 42: Overview of the Libraries 1Table 1-
- Page 43 and 44: Overview of the Libraries 1Table 1-
- Page 45 and 46: Overview of the Libraries 1Table 1-
- Page 47 and 48: Overview of the Libraries 1Table 1-
- Page 49 and 50: Overview of the Libraries 1Table 1-
- Page 51 and 52: Overview of the Libraries 1Table 1-
- Page 53: Descriptions of the LibraryRoutines
- Page 57 and 58: Descriptions of the Library Routine
- Page 59 and 60: Descriptions of the Library Routine
- Page 61 and 62: Descriptions of the Library Routine
- Page 63 and 64: Descriptions of the Library Routine
- Page 65 and 66: Descriptions of the Library Routine
- Page 67 and 68: Descriptions of the Library Routine
- Page 69 and 70: Descriptions of the Library Routine
- Page 71 and 72: Descriptions of the Library Routine
- Page 73 and 74: Descriptions of the Library Routine
- Page 76 and 77: 2 Intel Fortran Libraries Reference
- Page 79 and 80: Descriptions of the Library Routine
- Page 82 and 83: 2 Intel Fortran Libraries Reference
- Page 84 and 85: 2 Intel Fortran Libraries Reference
- Page 86 and 87: 2 Intel Fortran Libraries Reference
- Page 88 and 89: 2 Intel Fortran Libraries Reference
- Page 90 and 91: 2 Intel Fortran Libraries Reference
- Page 92 and 93: 2 Intel Fortran Libraries Reference
- Page 94 and 95: 2 Intel Fortran Libraries Reference
- Page 96: 2 Intel Fortran Libraries Reference
- Page 100 and 101: 2 Intel Fortran Libraries Reference
- Page 102 and 103: 2 Intel Fortran Libraries Reference
Descriptions of the Library Routines 2ABOUTBOXQQACCESSQuickWin Function: Specifies the information displayed in the message box that appears whenthe user selects the About command from a QuickWin application's Help menu. This function isonly available on Windows* systems.Module: USE IFQWINSyntaxresult = ABOUTBOXQQ (cstring)cstring(Input; output) Character*(*). Null-terminated C string.Results:The value of the result is INTEGER(4). It is zero if successful; otherwise, nonzero.If your program does not call ABOUTBOXQQ, the QuickWin run-time library supplies a defaultstring. For further discussion, see "Using QuickWin" in your user’s guide.CompatibilityQUICKWIN GRAPHICS LIBExampleConsider the following:USE IFQWININTEGER(4) dummy! Set the About box messagedummy = ABOUTBOXQQ ('Matrix Multiplier\r Version 1.0'C)Portability Function: Determines if a file exists and how it can be accessed.Module: USE IFPORTSyntaxresult = ACCESS (name, mode)name(Input) Character*(*). Name of the file whose accessibility is to be determined.2-3