Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!boulder!cdash From: cdash@boulder.Colorado.EDU (Charles Shub) Newsgroups: comp.unix.questions Subject: path names in header files Message-ID: <1570@boulder.Colorado.EDU> Date: 1 Mar 88 18:07:03 GMT Organization: University of Colorado at Colorado Springs Lines: 12 Keywords: path names, header files, portability, flexibility, question 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@boulder.colorado.edu aka ...hao!boulder!cdash aka ...nbires!boulder!cdash aka (303) 593-3492