BSD syscall#217
svc · unix #217
statv
Returns extended (per-vnode) metadata for a path on filesystems that support it.
Prototype
int statv(const char *path, struct vstat *vsb);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| path | const char | - | |
| vsb | struct vstat | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 217 |
| xnu-1699.24.8 | macOS 10.7 Lion | 217 |
| xnu-1486.2.11 | — | 217 |
| xnu-1504.15.3 | — | 217 |
| xnu-1504.3.12 | — | 217 |
| xnu-1504.7.4 | — | 217 |
| xnu-1504.9.17 | — | 217 |
| xnu-1504.9.26 | — | 217 |
| xnu-1504.9.37 | — | 217 |
| xnu-1699.22.73 | — | 217 |
| xnu-1699.22.81 | — | 217 |
| xnu-1699.24.23 | — | 217 |
| xnu-1699.26.8 | — | 217 |
| xnu-1699.32.7 | — | 217 |
Notes
Largely vestigial on modern macOS — most callers use getattrlist instead, which is more flexible. statv is preserved for compatibility with older BSD utilities.
Related APIs
statfstatvgetattrlistlstatv