Files
codezero/tasks/sigma0/channel.c
Bahadir Balban e2b791a3d8 Initial commit
2008-01-13 13:53:52 +00:00

19 lines
272 B
C

struct channel {
int dir; /* Direction */
char *name; /* Name */
int cd; /* Channel descriptor */
};
struct interface {
struct channel chan[];
};
int main(int argc, char *argv[])
{
void *buf = malloc(sizeof(struct channel)*10);
struct interface *intf = buf;
}