--- libaitio/example/test.c 2013/03/13 14:54:38 1.8 +++ libaitio/example/test.c 2013/06/04 12:44:46 1.9 @@ -22,6 +22,10 @@ int main(int argc, char **argv) printf("geterror:: #%d - %s\n", io_GetErrno(), io_GetError()); printf("std:: %s ioPromptRead(FLIUP: ) -> %d\n", str, (ret = ioPromptRead(NULL, "FLIUP: ", str, 256))); + } else { + strlcpy(str, argv[1], sizeof str); + printf("%s real filename is %s\n", str, ioRealFileName(str)); + printf("err: #%d - %s\n", io_GetErrno(), io_GetError()); } return 0;