Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
nasretdinov
10mo ago
0 comments
Share
I don't believe puts is performing unbuffered I/O though. It's a libc function, not a direct syscall. Correct me if I'm wrong of course
0 comments
default
newest
oldest
lieks
10mo ago
The write(2) libc function is just a C wrapper for the syscall. It's the functions from stdio.h that are buffered.
nasretdinov
OP
10mo ago
Ah ok sorry I got confused by the comments nesting level. I thought we were talking about the OpenBSD's version which uses puts
j
/
k
navigate · click thread line to collapse