Mwnci issetuid() Function

Syntax

issetuid(string)

Description

The issetuid() function returns true if the path points to a file that has the setuid bit set for file permissions

Example

include("file")
println(issetuid("/usr/bin/passwd"))
println(issetuid("/etc/passwd"))

true
false