ash needs that for job control, on ia64. see jobs.c diff -p -purN klibc-0.105/klibc/Makefile klibc-0.105.getpgrp/klibc/Makefile --- klibc-0.105/klibc/Makefile 2004-02-09 06:41:29.000000000 +0100 +++ klibc-0.105.getpgrp/klibc/Makefile 2004-02-09 11:15:18.000000000 +0100 @@ -33,6 +33,7 @@ LIBOBJS = vsnprintf.o snprintf.o vsprint strsep.o strtok.o \ gethostname.o getdomainname.o getcwd.o \ seteuid.o setegid.o setresuid.o setresgid.o \ + getpgrp.o \ getenv.o setenv.o putenv.o __put_env.o unsetenv.o \ getopt.o readdir.o \ syslog.o closelog.o pty.o isatty.o reboot.o \ diff -p -purN klibc-0.105/klibc/SYSCALLS klibc-0.105.getpgrp/klibc/SYSCALLS --- klibc-0.105/klibc/SYSCALLS 2004-01-25 02:34:28.000000000 +0100 +++ klibc-0.105.getpgrp/klibc/SYSCALLS 2004-02-09 11:16:28.000000000 +0100 @@ -19,7 +19,7 @@ int setpgid(pid_t, pid_t) pid_t getpgid(pid_t) <!alpha> pid_t getppid() <alpha> pid_t getxpid@dual1::getppid() -<!ia64> pid_t getpgrp() +#pid_t getpgrp() pid_t setsid() pid_t getsid(pid_t) pid_t wait4(pid_t, int *, int, struct rusage *) diff -p -purN klibc-0.105/klibc/getpgrp.c klibc-0.105.getpgrp/klibc/getpgrp.c --- klibc-0.105/klibc/getpgrp.c 1970-01-01 01:00:00.000000000 +0100 +++ klibc-0.105.getpgrp/klibc/getpgrp.c 2004-02-09 11:14:38.000000000 +0100 @@ -0,0 +1,5 @@ +#include <unistd.h> + +pid_t getpgrp() { + return getpgid(0); +} -- USB is for mice, FireWire is for men! sUse lINUX ag, n?RNBERG