[netatalk-admins] getwd, getdtablesize, wait3, Oh My!


Subject: [netatalk-admins] getwd, getdtablesize, wait3, Oh My!
From: Kareem Kazkaz (kareem@email.labmed.umn.edu)
Date: Tue Oct 14 1997 - 14:43:26 EDT


Hello there.

I am compiling netatalk-1.4b2 on my Solaris 2.5.1 system using gcc-2.7.2.2
and am running into problems with unknown function calls. I have created
a kludge.h file that I use to replace calls to functions index, rindex, bzero,
bcopy, and bcmp, but I am now running into problems with the functions
getdtablesize, getwd, and wait3. I was wondering if these functions have
replacements similar to how the other functions I have mentioned have
replacements. If anybody knows, could you drop me a hint? Also, if anybody
knows of other functions I may run into that might not exist on my system,
please clue me in to those as well.

For the curious, here is the kludge.h file I use to make the replacements
mentioned above:

/*
        kludge.h

        This file is used to replace calls to the functions listed below.
        Caveat programmer.
*/

#define index strchr
#define rindex strrchr
#define bcopy(a, b, c) memcpy(b, a, c)
#define bzero(d, e) memset(d, 0, e)
#define bcmp(f, g, h) ( strncmp(f, g, h) == 0 ? 0 : 1 )

---------------------------------------------------------------------------
Kareem Kazkaz System Manager
Health Computer Sciences kareem@email.labmed.umn.edu
PHONE: (612) 625-3694 FAX: (612) 625-7166
Mail Address: Box 511 Mayo, 420 Delaware Street SE, Minneapolis, MN 55455
Office Address: V366A VFWCRC, 406 Harvard Street SE, Minneapolis, MN 55455



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:27:00 EST