Index of Section 3 Manual Pages
| Interix / SUA | path_casesensitive.3 | Interix / SUA |
path_casesensitive(3) path_casesensitive(3)
path_casesensitive()
NAME
path_casesensitive() - ensure correct case of pathname
SYNOPSIS
#include
char *
path_casesensitive(char *buf)
DESCRIPTION
The path_casesensitive(3) function attempts to ensure that the INTERIX
pathname passed in buf has the correct case. If the case is not correct
(for example, the value of buf is /dev/fs/C/temp/123 and the directory is
actually /dev/fs/C/TEMP/123), then the function converts the pathname in
place. If buf could match either of two other pathnames, all three
differing only by case, it returns the first one it can match.
RETURN VALUES
The path_casesensitive(3) utility exits with status 0 for success, and >0
if an error occurred.
SEE ALSO
chgpath(1)
unixpath2win(3)
USAGE NOTES
The path_casesensitive function is thread safe.
The path_casesensitive function is not async-signal safe.