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 ) |
---|
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 ;
: file-user-id ( path -- uid ) normalize-path file-info uid>> ;