Subject: Re: errno; has something moved ?
To: None <thorpej@nas.nasa.gov>
From: Peter Galbavy <peter@wonderland.org>
List: current-users
Date: 05/15/1996 18:56:03
> 
> On Wed, 15 May 1996 08:10:56 +0100 (BST) 
>  Peter Galbavy <peter@wonderland.org> wrote:
> 
>  > I have just noticed that the "extern int errno" declaration is no longer
>  > in errno.h or sys/errno.h. Is this right ? In fact, I can't find it anywhere
>  > by doing a grep.
> 
> basalt (thorpej) /sys/sys 109% grep errno *
> [ . . . ]
> errno.h:extern int errno;                       /* global error number */
> [ . . . ]
> 
> You will be able to pull it in with just #include <errno.h> ...
> 
> ----save the ancient forests - http://www.bayarea.net/~thorpej/forest/----
> Jason R. Thorpe                                       thorpej@nas.nasa.gov
> NASA Ames Research Center                               Home: 408.866.1912
> NAS: M/S 258-6                                          Work: 415.604.0935
> Moffett Field, CA 94035                                Pager: 415.428.6939
> 

FIrst look (again):

peter@dumpty.wonderland.org % ls -l /usr/include/errno.h
lrwx------  1 peter  sources  11 May 12 17:11 /usr/include/errno.h -> sys/errno.h
peter@dumpty.wonderland.org % grep errno /usr/include/errno.h
/*      $NetBSD: errno.h,v 1.8 1994/06/29 06:44:02 cgd Exp $    */
 *      @(#)errno.h     8.5 (Berkeley) 1/21/94
#define ELAST           81              /* Must be equal largest errno */

then I find that my /usr/src/include directory is empty - ie no files are
going to get installed from it when I do a make includes. Hmm.

OK. Re-sup with the -o flag. sigh.

Regards,
-- 
Peter Galbavy                                           peter@wonderland.org
@ Home                                                 phone://44/973/499465
in Wonderland                              http://www.wonderland.org/~peter/
                               snail://UK/NW1_6LE/London/21_Harewood_Avenue/