Initial commit

This commit is contained in:
Bahadir Balban
2008-01-13 13:53:52 +00:00
commit e2b791a3d8
789 changed files with 95825 additions and 0 deletions

18
tasks/sigma0/channel.c Normal file
View File

@@ -0,0 +1,18 @@
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;
}