diff options
| author | Linus Groh <mail@linusgroh.de> | 2023-04-30 18:02:08 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-04-30 18:16:04 -0700 |
| commit | 94e30a756edc4c2182168dabd97d481b8aec0ff2 (patch) | |
| tree | 50d4273d99ddd7a442d62b615cf9dc6128e71fef /lib/std/c/darwin.zig | |
| parent | ec6ffaa1e47388a59035277dafbe3d9999a80fca (diff) | |
| download | zig-94e30a756edc4c2182168dabd97d481b8aec0ff2.tar.gz zig-94e30a756edc4c2182168dabd97d481b8aec0ff2.zip | |
std: fix a bunch of typos
The majority of these are in comments, some in doc comments which might
affect the generated documentation, and a few in parameter names -
nothing that should be breaking, however.
Diffstat (limited to 'lib/std/c/darwin.zig')
| -rw-r--r-- | lib/std/c/darwin.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/std/c/darwin.zig b/lib/std/c/darwin.zig index cd1fbb9d9b..6e4ef59d38 100644 --- a/lib/std/c/darwin.zig +++ b/lib/std/c/darwin.zig @@ -178,13 +178,13 @@ pub extern "c" fn __getdirentries64(fd: c_int, buf_ptr: [*]u8, buf_len: usize, b const private = struct { extern "c" fn fstat(fd: fd_t, buf: *Stat) c_int; - /// On x86_64 Darwin, fstat has to be manully linked with $INODE64 suffix to + /// On x86_64 Darwin, fstat has to be manually linked with $INODE64 suffix to /// force 64bit version. /// Note that this is fixed on aarch64 and no longer necessary. extern "c" fn @"fstat$INODE64"(fd: fd_t, buf: *Stat) c_int; extern "c" fn fstatat(dirfd: fd_t, path: [*:0]const u8, stat_buf: *Stat, flags: u32) c_int; - /// On x86_64 Darwin, fstatat has to be manully linked with $INODE64 suffix to + /// On x86_64 Darwin, fstatat has to be manually linked with $INODE64 suffix to /// force 64bit version. /// Note that this is fixed on aarch64 and no longer necessary. extern "c" fn @"fstatat$INODE64"(dirfd: fd_t, path_name: [*:0]const u8, buf: *Stat, flags: u32) c_int; @@ -2643,7 +2643,7 @@ pub const F = struct { pub const ADDSIGS = 59; /// add signature from same file (used by dyld for shared libs) pub const ADDFILESIGS = 61; - /// used in conjunction with F.NOCACHE to indicate that DIRECT, synchonous writes + /// used in conjunction with F.NOCACHE to indicate that DIRECT, synchronous writes /// should not be used (i.e. its ok to temporaily create cached pages) pub const NODIRECT = 62; ///Get the protection class of a file from the EA, returns int @@ -3866,4 +3866,4 @@ pub const MIN = struct { pub const ANONYMOUS = 0x80; }; -pub extern "c" fn mincore(addr: *align(std.mem.page_size) const anyopaque, lengh: usize, vec: [*]u8) c_int; +pub extern "c" fn mincore(addr: *align(std.mem.page_size) const anyopaque, length: usize, vec: [*]u8) c_int; |
