this post was submitted on 11 Dec 2023
102 points (96.4% liked)

Programmer Humor

32461 readers
600 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

I wasn’t sure how to express my gratitude.

It wasn’t bad for the occasional topical jest but holy shit does it make reading feeds painful.

Edit: in no way am I making a statement about code syntax. We don't write documentation in camel case for good reason.

you are viewing a single comment's thread
view the rest of the comments
[–] JoYo@lemmy.ml 7 points 11 months ago (1 children)

man 2 ofcyfpos

The "f" stands for fuck.

[–] sjmulder@lemmy.sdf.org 4 points 11 months ago* (last edited 11 months ago) (1 children)

Note that while Visual C++'s msvcrt doesn't implement this POSIX function officially, there's a nonstandard _ofcyfpos_s() and it will in fact warn you that any use of the official ofcyfpos() is unsafe. The semantics are slightly different (it'll return 1 on success instead of the length of the reply) so you can't just #define the problem away.

[–] JoYo@lemmy.ml 3 points 11 months ago

UCRT makes me so hard.