path_casesensitive()

NAME

path_casesensitive() - ensure correct case of pathname

SYNOPSIS

#include <interix/interix.h>

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)

_ntpath2posix(3)