comparison src/getloadavg.c @ 12799:a252e42dabcc make-3-74-1 make-3-74-2

[ps2]: Use nlist instead of knlist #ifdef _AIX.
author Roland McGrath <roland@gnu.org>
date Mon, 07 Aug 1995 20:48:08 +0000
parents d06973e701f8
children 2631a29a614c
comparison
equal deleted inserted replaced
12798:9ac61661054b 12799:a252e42dabcc
809 #endif /* not NLIST_NAME_UNION */ 809 #endif /* not NLIST_NAME_UNION */
810 #endif /* NLIST_STRUCT */ 810 #endif /* NLIST_STRUCT */
811 811
812 #ifndef SUNOS_5 812 #ifndef SUNOS_5
813 if ( 813 if (
814 #ifndef _AIX 814 #if !(defined (_AIX) && !defined (ps2))
815 nlist (KERNEL_FILE, nl) 815 nlist (KERNEL_FILE, nl)
816 #else /* _AIX */ 816 #else /* _AIX */
817 knlist (nl, 1, sizeof (nl[0])) 817 knlist (nl, 1, sizeof (nl[0]))
818 #endif 818 #endif
819 >= 0) 819 >= 0)