Skip to content

Fix #269: Add function to get user's home directory

Raymond Toy requested to merge issue-269-unix-get-user-homedir into master

ext:get-user-homedir-pathname takes a user name (as a string) and returns the user's home directory as a pathname or NIL if the user does not exist (or an error occurred).

os-common.c contains the C function to extract the home directory via getpwnam_r.

Edited by Raymond Toy

Merge request reports