unsigned long bits; char *chars;
unsigned long bits ATTRIBUTE_UNUSED; char *chars ATTRIBUTE_UNUSED;
setst (bits, chars)     unsigned long bits;     char *chars;{#ifdef S_ISUID  if (bits & S_ISUID)    {      if (chars[3] != 'x')	/* Set-uid, but not executable by owner. */	chars[3] = 'S';      else	chars[3] = 's';    }#endif#ifdef S_ISGID  if (bits & S_ISGID)    {      if (chars[6] != 'x')	/* Set-gid, but not executable by group. */	chars[6] = 'S';      else	chars[6] = 's';    }#endif#ifdef S_ISVTX  if (bits & S_ISVTX)    {      if (chars[9] != 'x')	/* Sticky, but not executable by others. */	chars[9] = 'T';      else	chars[9] = 't';    }#endif}