Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- getusrnam

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
getusrnam
Synopsis
/infobank/programs/share/getusrnam.for
Description
  Subroutine to return the name of current user. 

       
PROCESS
  For VMS, required to position certain values in certain positions 

  in memory, done with the EQUIVALENCE statement and an array.
    
USAGE
  "a" = argument, "r" = referenced, "s" = set

  call getusrnam                        (with the following arguments)
         UserName                    [variable char*12 r]
  Input: none
  Returned:
     UserName = name of current user.
    
SUBROUTINES
  getlog              (UNIX FORTRAN System routine)

    
DISCLAIMER
  Although this program has been used by the U.S. Geological Survey,

  no warranty, expressed or implied, is made by the Survey as to the
  accuracy and functioning of the program and related program
  material nor shall the fact of distribution constitute any such
  warranty, and no responsibility is assured by the Survey in
  connection therewith.
    
AUTHOR
  Clint Steele           .for

  Ed Maple   1/15/88   Modified for VMS/UNIX cross compatibility.
  Clint Steele   2/4/88    Added UNIX code.
  Clint Steele   12/4/95   Removed VMS references

    
Reads
Writes
Opens
Calls
      call getlog (UserName)

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/share/getusrnam.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:36:58 PDT 2013  (chd)