Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

strerror



Last week I sent a patch to the list that added a prototype for
strerror() to prototypes.h for SunOS.  But as I have no record of
receiving it back from the list, and it wasn't in pre3, it seems to
have gone astray.  I therefore include the message below.

-zefram

-----BEGIN PGP SIGNED MESSAGE-----

configure correctly divines that it exists, but there's no prototype in
the system headers.

 *** prototypes.h.orig	Mon Jul  8 11:16:36 1996
 --- prototypes.h	Mon Jul  8 11:24:36 1996
 ***************
 *** 124,129 ****
 --- 124,133 ----
   extern pid_t getppid(void);
   #endif
   
 + #if defined(__sun__) && !defined(__SVR4)  /* SunOS */
 + extern char *strerror _((int errnum));
 + #endif
 + 
   /**************************************************/
   /*** prototypes for functions built in compat.c ***/
   #ifndef HAVE_STRSTR

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQCVAgUBMeDih3D/+HJTpU/hAQH3GQP/V209o/2uVwcmIsZSAj6CZVa7mW+TGnfx
WYGdmvtqj0jv+xhl7jhT1vYGnCkm+8XFbtzcOoi33l2uITOzq2Yd23yoTzumvPWR
8W34aGd7plWkOqcnvv++TXVDAN0liMrUBYS8oNTQKJDSNM58jpPzxMh42jzigYWk
Jw6+iPX9TYU=
=VwR5
-----END PGP SIGNATURE-----




Messages sorted by: Reverse Date, Date, Thread, Author