file-user-name ( path -- string ) (original) (raw)

file-user-name ( path -- string )
Unix file attributes » Unix file user and group ids

Prev: file-user-id ( path -- uid )
Next: set-file-user ( path string/id -- )

Vocabulary
io.files.info.unix

Inputs

path a pathname string

Outputs

string a string

Word description
Returns the user-name for a given file.

Definition

USING: unix.users ;

IN: io.files.info.unix

: file-user-name ( path -- string ) file-user-id user-name ;