names

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

names - function to form an output file name from the input file name

SYNOPSIS

void names( char infile[], char pid[] )

DESCRIPTION

Basic Seismic Utilities (BSU) function appends the first 4 characters of the input file name to the process ID. The result is the output file name (before any suffix).
C-language version
.

Arguments
infile (char)

Input file name.

pid (char)

Process identification. This is typically the name of the main program, limited to 4 characters.

NOTE:
This program assumes that there are at least 4 characters in the input file name.

SEE ALSO

cmst(1)

BUGS

No known bugs.

COPYRIGHT

Copyright © 2017 by Paul Michaels

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

AUTHOR

P. Michaels, PE. <pm@cgiss.boisestate.edu>