/explore
|
You are here |
xnacly.me | ||
| | | | |
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: |
|
| | | | | ||
| | | | |
dehora.net
Back in 2013, I started a series of posts on programming languages I found interesting. One of the languages I wanted to write about at that time was Rust. As often happens, life got in the way, and it's only now that I'm coming round to a long overdue post. This is one of a series of posts on programming languages and you can read more about thathere. |
|
| | | | | ||
| | | | |
blog.lohr.dev
A review by a Rust enthusiast |
|
| | | | | ||
| | | | |
mtlynch.io
Updates about my life and what I learn about creating software |
|
| | | |||