Skip to content

Commit 353121d

Browse files
committed
std.c.fstatat64: add noalias attributes
1 parent a62c8d3 commit 353121d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/std/c/linux.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ pub const EAI = enum(c_int) {
229229
pub extern "c" fn fallocate64(fd: fd_t, mode: c_int, offset: off_t, len: off_t) c_int;
230230
pub extern "c" fn fopen64(noalias filename: [*:0]const u8, noalias modes: [*:0]const u8) ?*FILE;
231231
pub extern "c" fn fstat64(fd: fd_t, buf: *Stat) c_int;
232-
pub extern "c" fn fstatat64(dirfd: fd_t, path: [*:0]const u8, stat_buf: *Stat, flags: u32) c_int;
232+
pub extern "c" fn fstatat64(dirfd: fd_t, noalias path: [*:0]const u8, noalias stat_buf: *Stat, flags: u32) c_int;
233233
pub extern "c" fn ftruncate64(fd: c_int, length: off_t) c_int;
234234
pub extern "c" fn getrlimit64(resource: rlimit_resource, rlim: *rlimit) c_int;
235235
pub extern "c" fn lseek64(fd: fd_t, offset: i64, whence: c_int) i64;

0 commit comments

Comments
 (0)