diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-02-14 12:33:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-14 12:33:49 +0200 |
| commit | 90f2a8d9c5885cdb302757244a5bb2971fdbabe0 (patch) | |
| tree | 336baece47cb908d26611d8d9048d1ecf5e2e7ef /lib/std/c/freebsd.zig | |
| parent | 8ed792b640ef3601dfb773d670915d74fbbbad13 (diff) | |
| parent | 11b4cc589c85b6330824ac9a64bfb0829cc1adb0 (diff) | |
| download | zig-90f2a8d9c5885cdb302757244a5bb2971fdbabe0.tar.gz zig-90f2a8d9c5885cdb302757244a5bb2971fdbabe0.zip | |
Merge pull request #10486 from ominitay/metadata
std: Implement cross-platform metadata API
Diffstat (limited to 'lib/std/c/freebsd.zig')
| -rw-r--r-- | lib/std/c/freebsd.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/std/c/freebsd.zig b/lib/std/c/freebsd.zig index 7b74c237ce..d5b6e4972d 100644 --- a/lib/std/c/freebsd.zig +++ b/lib/std/c/freebsd.zig @@ -283,6 +283,10 @@ pub const Stat = extern struct { pub fn ctime(self: @This()) timespec { return self.ctim; } + + pub fn birthtime(self: @This()) timespec { + return self.birthtim; + } }; pub const timespec = extern struct { |
