Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site fortune.UUCP Path: utzoo!linus!decvax!harpo!ihnp4!fortune!olson From: olson@fortune.UUCP Newsgroups: net.sources Subject: Re: C Function Cross-Referencer - (nf) Message-ID: <2180@fortune.UUCP> Date: Thu, 5-Jan-84 19:10:59 EST Article-I.D.: fortune.2180 Posted: Thu Jan 5 19:10:59 1984 Date-Received: Sat, 7-Jan-84 01:43:50 EST Sender: notes@fortune.UUCP Organization: Fortune Systems, Redwood City, CA Lines: 17 #R:fortune:10100008:fortune:10100011:000:578 fortune!olson Jan 5 16:08:00 1984 I have received several pieces of mail from people saying they are having problems compiling my 'crossref' program I should have mentioned that this program uses one library function, and one system call which are found only on V7 and Berkeley Unix's. The library routine is rindex(), which is identical to strrchar() on Sys 3 and 5. The system call is dup2(fd1,fd2). This is functionally the same as: close(fd2);fcntl(fd1,F_DUPFD,fd2); on Sys 3 and 5. Hope this helps those who were having problems. Dave Olson, Fortune Systems {ihnp4,harpo,ucbvax!amd70}!fortune!olson