BSD syscall#128
svc · unix #128
rename
Renames or moves a file within the same filesystem.
Prototype
int rename(char *from, char *to);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| from | char | - | |
| to | char | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 128 |
| xnu-1486.2.11 | — | 128 |
| xnu-1504.15.3 | — | 128 |
| xnu-1504.3.12 | — | 128 |
| xnu-1504.7.4 | — | 128 |
| xnu-1504.9.17 | — | 128 |
| xnu-1504.9.26 | — | 128 |
| xnu-1504.9.37 | — | 128 |
Notes
No prose documentation yet.