1 2 3 4 5 6 7 8 9
#include <mlvalues.h> #include "unix.h" value unix_setuid(uid) /* ML */ value uid; { if (setuid(Int_val(uid)) == -1) uerror("setuid", Nothing); return Val_unit; }