John Marshall wrote: > Shouldn't this code expect unsigned int, one way > or another (as unsigned int, uid_t, gid_t, ...)? Perhaps. However, this would break on systems where getgrgid is defined to take an int as its argument. Regards, Martin