Skip to content

Commit

Permalink
add missing cfgetospeed()
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tornblom committed Jun 2, 2024
1 parent 5d9bd38 commit cd40bff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libc/cfgetospeed.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <termios.h>

speed_t
cfgetospeed(const struct termios *t) {
return t->c_ospeed;
}

0 comments on commit cd40bff

Please sign in to comment.