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

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
The write(2) libc function is just a C wrapper for the syscall. It's the functions from stdio.h that are buffered.
Ah ok sorry I got confused by the comments nesting level. I thought we were talking about the OpenBSD's version which uses puts