1Usage: pgbind template [-w ] [-h ] [-suffix string] [-case upper|lower] [-false integer] [-true integer] [files] 2 3 Where template must be one of: 4 bsd BSD f77 template. C string pointers are passed directly, but 5 the length of each string is appended as an extra argument to 6 the FORTRAN procedure call. 7 Default options: -suffix "_" -case lower -false 0 -true 1 8 cray2 Cray-2 FORTRAN template. C string pointers and lengths are 9 combined into a single argument with the Cray fortran.h 10 _cptofcd(pointer,length) macro. 11 Default options: -suffix "" -case upper -false 0 -true 1 12 vms VMS FORTRAN template. C strings are passed via FORTRAN string 13 descriptors. 14 Default options: -suffix "" -case lower -false 0 -true -1 15 ms Microsoft Powerstation Fortran + Visual C++. Each string 16 argument is passed to the FORTRAN procedure as two adjacent 17 arguments. The first argument is the C char * pointer of the 18 string. The second is an int argument that contains the 19 length of the string. In addition, the C prototype of the 20 FORTRAN function contains a __stdcall qualifier 21 Default options: -suffix "" -case upper -false 0 -true 1 22 23 Options: 24 -w Write wrapper files. 25 -h Write a new wrapper-library header file. 26 -suffix string The suffix appended to FORTRAN symbols by the 27 linker. 28 -case upper|lower The typographical case given to FORTRAN symbols 29 by the linker. 30 -false integer The numerical value of FORTRAN .FALSE. 31 -true integer The numerical value of FORTRAN .TRUE. 32 33Prototype input files: 34 files Each file can contain zero or more C prototypes. Each prototype 35 consists of one or more lines, each line marked with C% in 36 columns 1-2. Continuation lines are heralded by a '\' character 37 at the end of the line being continued. 38 If no files are specified, standard input is read. 39