|
| 1 | +{ |
| 2 | + "<stdio.h>" : [ |
| 3 | + { |
| 4 | + "comment": "Renames a file.", |
| 5 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/rename.html", |
| 6 | + "prototype": "int rename(const char *, const char *)" |
| 7 | + } |
| 8 | + ], |
| 9 | + "<string.h>" : [ |
| 10 | + { |
| 11 | + "comment": "Formats an error code as a string.", |
| 12 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/strerror.html", |
| 13 | + "prototype": "char *strerror(int)" |
| 14 | + } |
| 15 | + ], |
| 16 | + "<unistd.h>" : [ |
| 17 | + { |
| 18 | + "comment": "Determines the accessibility of a file.", |
| 19 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/access.html", |
| 20 | + "prototype": "int access(const char *, int)" |
| 21 | + }, |
| 22 | + { |
| 23 | + "comment": "Schedules an alarm signal.", |
| 24 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/alarm.html", |
| 25 | + "prototype": "unsigned alarm(unsigned)" |
| 26 | + }, |
| 27 | + { |
| 28 | + "comment": "Changes the working directory.", |
| 29 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/chdir.html", |
| 30 | + "prototype": "int chdir(const char *)" |
| 31 | + }, |
| 32 | + { |
| 33 | + "comment": "Closes a file descriptor.", |
| 34 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/close.html", |
| 35 | + "prototype": "int close(int)" |
| 36 | + }, |
| 37 | + { |
| 38 | + "comment": "Encrypts a string.", |
| 39 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/crypt.html", |
| 40 | + "prototype": "char * crypt(const char *, const char *)", |
| 41 | + "available_android": false, |
| 42 | + "unavailable_value": "NULL" |
| 43 | + }, |
| 44 | + { |
| 45 | + "comment": "Generates a path name for the controlling terminal.", |
| 46 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/ctermid.html", |
| 47 | + "prototype": "char * ctermid(char *)", |
| 48 | + "available_android": false, |
| 49 | + "unavailable_value": "\"\"" |
| 50 | + }, |
| 51 | + { |
| 52 | + "comment": "Duplicates an open file descriptor.", |
| 53 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html", |
| 54 | + "prototype": "int dup(int)" |
| 55 | + }, |
| 56 | + { |
| 57 | + "comment": "Copies an open file descriptor into another.", |
| 58 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html", |
| 59 | + "prototype": "int dup2(int, int)" |
| 60 | + }, |
| 61 | + { |
| 62 | + "comment": "Determines the accessibility of a file descriptor.", |
| 63 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/faccessat.html", |
| 64 | + "prototype": "int faccessat(int, const char *, int, int)" |
| 65 | + }, |
| 66 | + { |
| 67 | + "comment": "Changes the current directory.", |
| 68 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/fchdir.html", |
| 69 | + "prototype": "int fchdir(int)" |
| 70 | + }, |
| 71 | + { |
| 72 | + "comment": "Forces all queued I/O operations to complete.", |
| 73 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/fdatasync.html", |
| 74 | + "prototype": "int fdatasync(int)", |
| 75 | + "available_ios": false, |
| 76 | + "unavailable_value": "-1" |
| 77 | + }, |
| 78 | + { |
| 79 | + "comment": "Removes a directory entry.", |
| 80 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/linkat.html", |
| 81 | + "prototype": "int unlink(const char *)" |
| 82 | + }, |
| 83 | + { |
| 84 | + "comment": "Removes a directory entry relative to another file.", |
| 85 | + "url": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/unlinkat.html", |
| 86 | + "prototype": "int unlinkat(int, const char *, int)" |
| 87 | + } |
| 88 | +] |
| 89 | +} |
0 commit comments