Y
Hacker News
new
|
ask
|
show
|
jobs
by
ksherlock
4254 days ago
Please just call Fstat and check Stat_t.Mode & S_IFCHR
1 comments
burke
4254 days ago
Wow, that's a lot easier than the OS-dependent Syscall6 crap with termios from the "real" solutions I've seen.
link