Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
luckydude
on Dec 28, 2015
|
parent
|
context
|
favorite
| on:
Newly discovered earliest draft of a Unix manual (...
Um, structs?
typedef struct { pid_t pid; int status; } wait_t;
wait_t status = wait();
sebleblanc
on Dec 28, 2015
[–]
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:
typedef struct { pid_t pid; int status; } wait_t;
wait_t status = wait();