2 * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
3 * Copyright (C) 2001 Ridgerun,Inc (glonnon@ridgerun.com)
4 * Licensed under the GPL
13 #include <netinet/in.h>
15 #include <sys/socket.h>
17 #include <sys/param.h>
18 #include "asm/types.h"
19 #include "user_util.h"
20 #include "kern_util.h"
29 void ignore_sigwinch_sig(void)
31 signal(SIGWINCH
, SIG_IGN
);
34 int start_io_thread(unsigned long sp
, int *fd_out
)
38 err
= os_pipe(fds
, 1, 1);
40 printk("start_io_thread - os_pipe failed, err = %d\n", -err
);
47 pid
= clone(io_thread
, (void *) sp
, CLONE_FILES
| CLONE_VM
| SIGCHLD
,
50 printk("start_io_thread - clone failed : errno = %d\n", errno
);
58 os_close_file(fds
[0]);
59 os_close_file(fds
[1]);
67 * Overrides for Emacs so that we follow Linus's tabbing style.
68 * Emacs will notice this stuff at the end of the file and automatically
69 * adjust the settings for this buffer only. This must remain at the end
71 * ---------------------------------------------------------------------------
73 * c-file-style: "linux"