/usr/include/libelf.h prototypes - missing symbols

/usr/include/libelf.h prototypes - missing symbols

Post by Jason Schroed » Sun, 08 Oct 1995 04:00:00



Dear All,

In my /usr/include/libelf.h, I see function prototypes for functions like:

elf_begin
elf_ndxscn
etc.

What does one link against to get these functions?  Where do I get source
for this library?

Jason

 
 
 

1. gettimeofday prototype in /usr/include/sys/time.h on Solaris 2.4

 man gettimeofday
Reformatting page.  Wait... done

gettimeofday(3C)       C Library Functions       gettimeofday(3C)

NAME
     gettimeofday, settimeofday - get or set the date and time

SYNOPSIS
     #include <sys/time.h>

     int gettimeofday(struct timeval *tp);

....

#ifdef __cplusplus
int gettimeofday(struct timeval *, void *);
int settimeofday(struct timeval *, void *);
#endif

What is  void* for?

This makes it very hard to write code that compiles on other machines.

#ifdef Solaris24
gettimeofday(time);
#elseif SYSV
gettimeofday(time);
#else
gettimeofday(time, timezone);
#endif

--
        - Bill

2. Xconfig problems

3. One more time: /usr/include/linux, /usr/include/asm

4. Why I am a Linux Nut!

5. Help - clashes between /usr/include and /usr/include/linux

6. rdist question Please Help

7. /usr/include/string.h and /usr/include/strings.h

8. TAR archive updating

9. /usr/include vs /usr/include/sys

10. Help - clashes between /usr/include and /usr/include/linux

11. Can't compile minicom (/usr/include/sys missing *.h files)

12. Missing /usr/include/bits/linux/errno.h

13. 1.2 kernel missing /usr/src/linux/include/asm