Copyrights
- 在數碼世界保護知識產權? Quote: 如果你在看blog,甚至寫blog,是次諮詢絕對與你有關
- 數碼版權諮詢只收到182個回覆?!你覆了沒有? Quote: 在螢光幕前的你,你又回覆了沒有?
Blog
- 留留言 Quote: 然而,一些部落格,留言不但多,而
Copyrights
Blog
Here's a philosophical question: what do Unix errno values mean?
One possible meaning is that they are hints about why your systemcall failed. Another possible meaning is that they specify what wentwrong; in the extreme, a system call can only fail for certain specificreasons, each of which is associated with a specific errno value.
Errno as a hint is essentially the traditional Unix view. V7 Unix didn'teven document specific error returns for system calls, and Bell Labstook it to the logical
Once, long ago, I did a distributed computing project course where Itried to speed up a drawing program by moving its expensive floatingpoint calculations (I believe it needed to calculate square roots forsomething) to a machine with a much faster CPU and floating point. Weused Sun's RPC/XDR for this because it was both a great match for whatwe were doing and the obvious choice at the time, among other reasons.
Rather to our surprise the drawing program just didn't get much faster