Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site bdmrrr.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!trwatf!rlgvax!bdmrrr!shprentz From: shprentz@bdmrrr.UUCP (Joel Shprentz) Newsgroups: net.sources.bugs Subject: Re: batch,batchd - low priority batched execution Message-ID: <292@bdmrrr.UUCP> Date: Mon, 17-Jun-85 08:38:50 EDT Article-I.D.: bdmrrr.292 Posted: Mon Jun 17 08:38:50 1985 Date-Received: Thu, 20-Jun-85 20:09:49 EDT References: <14907@watmath.UUCP> Distribution: net Organization: BDM Corporation, McLean, Virginia Lines: 21 Ken references the 'unique' function in his program to get a unique sequential number: > /* > * Spool file name starts with tf, followed by grade, followed by > * a unique sequential number. The files are sorted by this name > * for priority of execution. > */ > spoolnumber = unique(); > sprintf(tfname, tffmt, SPOOLDIR, queue, grade, spoolnumber); The source code for unique was not in the original article nor is it in our library (on a Sun 2-120 running bsd4.2). Does anyone have the source for unique or a description of what it does? Mail sent to Ken has been returned by the watmath mailer. Joel Shprentz BDM Corporation, McLean, Virginia (703) 827-7953 {seismo,rlgvax}!bdmrrr!shprentz