Skip to content

Commit 73ca389

Browse files
committed
Expose B460800 & B921600 on netbsd
1 parent 4cc8097 commit 73ca389

File tree

1 file changed

+3
-0
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+3
-0
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,9 @@ pub const P_ALL: idtype_t = 0;
641641
pub const P_PID: idtype_t = 1;
642642
pub const P_PGID: idtype_t = 4;
643643

644+
pub const B460800: ::speed_t = 460800;
645+
pub const B921600: ::speed_t = 921600;
646+
644647
extern {
645648
pub fn aio_read(aiocbp: *mut aiocb) -> ::c_int;
646649
pub fn aio_write(aiocbp: *mut aiocb) -> ::c_int;

0 commit comments

Comments
 (0)