file-user-id ( path -- uid ) (original) (raw)

file-user-id ( path -- uid )
Unix file attributes » Unix file user and group ids

Next: file-user-name ( path -- string )

Vocabulary
io.files.info.unix

Inputs

path a pathname string

Outputs

uid an integer

Word description
Returns the user id for a given file.

Definition

USING: accessors io.backend io.files.info ;

IN: io.files.info.unix

: file-user-id ( path -- uid ) normalize-path file-info uid>> ;