Y
Hacker News
new
|
ask
|
show
|
jobs
by
phh
390 days ago
Which implies you get pretty much 3M syscall per second. Which is a good order magnitude to know
1 comments
nasretdinov
390 days ago
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
link
lieks
390 days ago
The write(2) libc function is just a C wrapper for the syscall. It's the functions from stdio.h that are buffered.
link
nasretdinov
390 days 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
link