What is going on in Unix with errno's limited nature

原始链接: https://utcc.utoronto.ca/~cks/space/blog/unix/ErrnoWhySoLimited

Forbidden You don't have permission to access /~cks/space/blog/unix/ErrnoWhySoLimited on this server.

Hacker Newsnew | past | comments | ask | show | jobs | submitloginWhat is going on in Unix with errno's limited nature (utcc.utoronto.ca)13 points by ingve 2 days ago | hide | past | favorite | 4 comments amelius 2 days ago [–] Why didn't they mention threads?replybartvk 1 day ago | parent [–] Oh gosh, that's interesting. I bet that complicates using using errno. Or is errno somehow copied into a local variable?replyVogtinator 1 day ago | root | parent [–] errno is in thread-local storage (TLS)replyamelius 1 day ago | root | parent [–] Yes. It is too bad that they didn't use a similar solution for the current working directory. Chdir() is process-wide, not thread local :(reply Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4 Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:
相关文章

原文

Forbidden

You don't have permission to access /~cks/space/blog/unix/ErrnoWhySoLimited on this server.

联系我们 contact @ memedata.com