Skip to content

Commit

Permalink
Add missing fields to LibC::Passwd on FreeBSD (#12315)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgk authored Jul 26, 2022
1 parent ccda5be commit 023b01a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib_c/x86_64-freebsd/c/pwd.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ lib LibC
pw_passwd : Char*
pw_uid : UidT
pw_gid : GidT
pw_change : TimeT
pw_class : Char*
pw_gecos : Char*
pw_dir : Char*
pw_shell : Char*
pw_expire : TimeT
pw_fields : Int
end

fun getpwnam_r(login : Char*, pwstore : Passwd*, buf : Char*, bufsize : SizeT, result : Passwd**) : Int
Expand Down

0 comments on commit 023b01a

Please sign in to comment.