Skip to content

Commit

Permalink
linux/gnu: add utmp(5) default paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lucab committed Sep 2, 2019
1 parent 7e2f12f commit 729709a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/linux_like/linux/gnu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ pub const O_ACCMODE: ::c_int = 3;
pub const ST_RELATIME: ::c_ulong = 4096;
pub const NI_MAXHOST: ::socklen_t = 1025;

// paths.h
pub static _PATH_UTMP: &str = "/var/run/utmp";
pub static _PATH_WTMP: &str = "/var/log/wtmp";

pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5;
pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;
pub const CODA_SUPER_MAGIC: ::c_long = 0x73757245;
Expand Down

0 comments on commit 729709a

Please sign in to comment.