From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078731111703.tru64-unix-managers.marc@archive.invalid> From: lombardi emanuele Date: Wed, 02 Dec 1998 11:45:07 +0000 To: tru64-unix-managers Subject: C code to find all descendants of a given PID X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078731111703 I'm here asking for some C help. I'm not a C programmer: I'm only able to cut & paste others C programs. BUT I need to make a C program which ,given a PID, returns the PIDs of all its descendants (sons, nephews...) . I tried to use table(2) but I'm not good enough to make a clean & working code. Any help willbe greatly apreciated. thanks, Emanuele -- Emanuele Lombardi mail: AMB-GEM-CLIM ENEA Casaccia I-00060 S.M. di Galeria (RM) ITALY mailto:lele@mantegna.casaccia.enea.it tel +39 6 30483366 fax +39 6 30483591 This transmission was made possible by 100% recycled electrons.