path names in header files

Charles Shub cdash at boulder.Colorado.EDU
Wed Mar 2 04:07:03 AEST 1988


i got bit by the "you have been relocated" trick today. Several things did not
work (the stuff I use often) The major problem is describing a path in a header
file, a path that will be used as an argument to open(2). Since the program
will be run from many directories, a relative path is out. Since the path is
an argument to a system call, there is no good opportunity for environment
variable substitution. How do you get around this short of editing the header
files when something has to move?

thanks...
-- 

cdash   aka cdash at boulder.colorado.edu    aka ...hao!boulder!cdash
	aka ...nbires!boulder!cdash       aka  (303) 593-3492



More information about the Comp.unix.questions mailing list