mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
std.c.passwd: support macOS and NetBSD
This commit is contained in:
parent
67fc44fc6f
commit
69e304bd51
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ pub const passwd = switch (native_os) {
|
|||
dir: ?[*:0]const u8, // home directory
|
||||
shell: ?[*:0]const u8, // shell program
|
||||
},
|
||||
.openbsd => extern struct {
|
||||
.netbsd, .openbsd, .macos => extern struct {
|
||||
name: ?[*:0]const u8, // user name
|
||||
passwd: ?[*:0]const u8, // encrypted password
|
||||
uid: uid_t, // user uid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue