system calls from fortran

alonso at ucsfcgl.UUCP alonso at ucsfcgl.UUCP
Sun Jan 25 07:18:02 AEST 1987



  Running under BSD4.3 using f77 is there a standard way to
make system calls. In pseudo code an example of what I want 
to do is the following:

      if (some condition)
          !system call!	rm some.file
          option to return to program
      end if


That would be one example. Another would be:
        
       !system call! ls > temp
       open(1,file='tmp')
       read(1,a70)line1 
             .
             .

          Reply to the net is fine. Thanks in advance,

           Darwin Alonso Univ. Calif. San Francisco



More information about the Comp.unix.questions mailing list