about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/ifreq.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-091-3/+2
|
* Fix __if_freereq crash: Unlike the generic version which uses free, Hurd ↵Samuel Thibault2011-02-211-0/+45
| | | | needs munmap.
* 2005-12-20 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-201-80/+0
| | | | | | * sysdeps/mach/hurd/ifreq.h: File removed. (__ifreq): Function moved to ... * sysdeps/mach/hurd/ifreq.c: ... here, new file.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-0/+80
|
* 2.5-18.1Jakub Jelinek2007-07-121-80/+0
|
* * sysdeps/generic/ifreq.h (__if_nextreq): New function.Roland McGrath2002-09-201-0/+7
| | | | | | | | | | | * sysdeps/unix/sysv/linux/ifreq.h (__if_nextreq): New function. * sysdeps/mach/hurd/ifreq.h (__if_nextreq): New function. * sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq for iterating through the list of interfaces. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Likewise. * sysdeps/unix/grantpt.c (pts_name): Set errno when __ptsname_r fails. Reported by Bruno Haible <bruno@clisp.org>.
* * time/sys/time.h [__USE_BSD] (lutimes, futimes): Declare them.Roland McGrath2002-08-271-3/+2
| | | | | | | | | | | | | | | | | | | | | * manual/filesys.texi (File Times): Document lutimes and futimes. * misc/Makefile (routines): Add them. * misc/Versions (libc: GLIBC_2.3): Likewise. * sysdeps/generic/lutimes.c: New file. * sysdeps/generic/futimes.c: New file. * sysdeps/mach/hurd/lutimes.c: New file. * sysdeps/mach/hurd/futimes.c: New file. * manual/filesys.texi (File Times): Add explicit note about null pointer argument to utimes. 2002-08-26 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/ifreq.h (__if_freereq): Add missing semicolon. (__ifreq): Add a cast. Remove an unused variable. * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add _HURD_THREADVAR_LOCALE.
* Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.Roland McGrath2002-07-241-0/+74
This implementation supports only IPv4. * inet/ifaddrs.h: New file. * sysdeps/generic/ifaddrs.c: New file. * sysdeps/gnu/ifaddrs.c: New file. * inet/test-ifaddrs.c: New file. * inet/Makefile (routines): Add ifaddrs. (headers): Add ifaddrs.h here. (tests): Add test-ifaddrs. * inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit socket call to get an AF_INET socket, instead of using __opensock. The SIOCGIFNETMASK ioctl will work only with a PF_INET socket. * sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD, if not -1 use it instead of calling __opensock. * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. * sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument. * sysdeps/mach/hurd/ifreq.h: New file. * sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS. * sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller.