Hacker News new | past | comments | ask | show | jobs | submit login

Um, structs?

typedef struct { pid_t pid; int status; } wait_t;

wait_t status = wait();




Tuple support, which in essence are anonymous structs, would have been very nice in C, too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: