man pages section 2: System Calls
  • I
    • ioctl(2)– control device
    • issetugid(2)– determine if current executable is running setuid or setgid