[nycbug-talk] ike what size is the process id in fbsd?

Marc Spitzer mspitzer
Thu Dec 8 00:13:21 EST 2005


Ike,

As asked for, what size is the process id in freebsd?

laptop% cat pid.c
#include <sys/types.h>
#include <unistd.h>

int main (char argv[][], int argc ) {
printf ("size of pid %d\n" , sizeof(pid_t));
}

laptop% ./a.out
size of pid 4
laptop%

marc
--
"We trained very hard, but it seemed that every time we were beginning to
form into teams we would be reorganized. I was to learn later in life that
we tend to meet any new situation by reorganizing, and a wonderful method it
can be for creating the illusion of progress, while producing confusion,
inefficiency and demoralization."
-Gaius Petronius, 1st Century AD




More information about the talk mailing list