Skip to content

Commit

Permalink
Add SEEK_DATA and SEEK_HOLE constants to FreeBSD and DragonFlyBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
ncaracci committed Aug 11, 2017
1 parent 916b82d commit bb504fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/bsd/freebsdlike/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ pub const EOF: ::c_int = -1;
pub const SEEK_SET: ::c_int = 0;
pub const SEEK_CUR: ::c_int = 1;
pub const SEEK_END: ::c_int = 2;
pub const SEEK_DATA: ::c_int = 3;
pub const SEEK_HOLE: ::c_int = 4;
pub const _IOFBF: ::c_int = 0;
pub const _IONBF: ::c_int = 2;
pub const _IOLBF: ::c_int = 1;
Expand Down

0 comments on commit bb504fd

Please sign in to comment.