Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Writing on a small c programm that somewhere calls a method that has a pwrite() in it.
I now wanted to know how long that method takes.
So I add a:
startTime = clock();
In front of it.
The funny thing is, that makes the pwrite fail.
I remove it, it works.
I add it, and it fails again.
What the actual fucking hell.
rant