Explore >> Select a destination


You are here

blog.dornea.nu
| | gist.github.com
1.6 parsecs away

Travel
| | NetBSD Raspberry Pi: toggle onboard LED. GitHub Gist: instantly share code, notes, and snippets.
| | 3.70.187.24
2.0 parsecs away

Travel
| |
| | blog.oddbit.com
1.8 parsecs away

Travel
| | 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:
| | anthonysciamanna.com
37.4 parsecs away

Travel
| Code katas provide an opportunity to practice our software development skills, recognize patterns, and learn how to apply techniques. In general, we pro...