|
You are here |
outflux.net | ||
| | | | |
bijanebrahimi.github.io
|
|
| | | | | ||
| | | | |
blog.oddbit.com
|
|
| | | | | Overview I was recently working with someone else's C source and I wanted to add some basic error checking without mucking up the code with a bunch of if statements and calls to perror. I ended up implementing a simple must function that checks the return value of an expression, and exits with an error if the return value is less than 0. You use it like this: must(fd = open("textfile.txt", O_RDONLY)); Or: | |
| | | | |
ravendb.net
|
|
| | | | | I previously askedwhat the code below does, and mentioned that it should give interesting insight into the kind of... | |
| | | | |
roape.net
|
|
| | | [AI summary] The content is a cookie consent notice and introductory information about the Review of African Political Economy (ROAPE) journal, including subscription details. | ||