Download upstream/emscripten/test/fs/test_emptyPath.c from arudradey/flst: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/arudradey/flst/resolve/main/upstream/emscripten/test/fs/test_emptyPath.c
- Command line
-
hf download hf://arudradey/flst/upstream/emscripten/test/fs/test_emptyPath.c
-
curl -L -o test_emptyPath.c https://huggingface.co/arudradey/flst/resolve/main/upstream/emscripten/test/fs/test_emptyPath.c
490 Bytes
| /* | |
| * Copyright 2014 The Emscripten Authors. All rights reserved. | |
| * Emscripten is available under two separate licenses, the MIT license and the | |
| * University of Illinois/NCSA Open Source License. Both these licenses can be | |
| * found in the LICENSE file. | |
| */ | |
| int main() { | |
| FILE* f1 = fopen("s", "r"); | |
| if (f1 == NULL) { | |
| printf("file 's' not found!\n"); | |
| } | |
| FILE* f2 = fopen("", "r"); | |
| if (f2 == NULL) { | |
| printf("file '' not found!\n"); | |
| } | |
| return 0; | |
| } | |