Explore >> Select a destination


You are here

www.cplusplus.com
| | jameshfisher.com
3.4 parsecs away

Travel
| | `fork` duplicates the current process. It returns `0` in the child process. In the parent process, it returns the child's new process id.
| | blog.oddbit.com
3.2 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:
| | outflux.net
3.5 parsecs away

Travel
| |
| | blog.elevendroids.com
21.9 parsecs away

Travel
|