home.social

#errno — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #errno, aggregated by home.social.

fetched live
  1. @chesheer

    No need to define its own constants for the standard file descriptors, either. Gaining <unistd.h> means that you gain STDERR_FILENO, STDIN_FILENO, et al..

    That 'extern int errno' is actually wrong and needs to come out. A well known thing to change, that is.

    That's all I spotted from a quick shufti. There's probably something more in the string handling. Code from that period often wasn't good with strings. I've not looked, though.

    #ile #Unix #termios #unistd #errno

  2. I got bored and looked for #anagrams of #errno codes.

    You might get EBADMSG if you're playing a BSD GAME.
    I got EHOSTDOWN once, but hey, WHO DOESN'T.
    To fix an EISCONN error takes you EONS IN C.
    But with ENETDOWN, you WON'T NEED long to fix it.
    If you get EACCES you should CEASE C coding entirely.
    EINVAL, on the other hand, is only a VENIAL sin.
    A social media site gave me ECONNREFUSED? Darn it, UNCENSOR FEED!
    I got EADDRINUSE? I give up. ADIEU, NERDS.