Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
chan_user.c File Reference
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sched.h>
#include <signal.h>
#include <termios.h>
#include <sys/ioctl.h>
#include "chan_user.h"
#include <os.h>
#include <um_malloc.h>

Go to the source code of this file.

Data Structures

struct  winch_data
 

Functions

void generic_close (int fd, void *unused)
 
int generic_read (int fd, char *c_out, void *unused)
 
int generic_write (int fd, const char *buf, int n, void *unused)
 
int generic_window_size (int fd, void *unused, unsigned short *rows_out, unsigned short *cols_out)
 
void generic_free (void *data)
 
int generic_console_write (int fd, const char *buf, int n)
 
void register_winch (int fd, struct tty_struct *tty)
 

Function Documentation

void generic_close ( int  fd,
void unused 
)

Definition at line 17 of file chan_user.c.

int generic_console_write ( int  fd,
const char buf,
int  n 
)

Definition at line 74 of file chan_user.c.

void generic_free ( void data)

Definition at line 69 of file chan_user.c.

int generic_read ( int  fd,
char c_out,
void unused 
)

Definition at line 22 of file chan_user.c.

int generic_window_size ( int  fd,
void unused,
unsigned short rows_out,
unsigned short cols_out 
)

Definition at line 52 of file chan_user.c.

int generic_write ( int  fd,
const char buf,
int  n,
void unused 
)

Definition at line 38 of file chan_user.c.

void register_winch ( int  fd,
struct tty_struct tty 
)

Definition at line 274 of file chan_user.c.