client_term.c
author viric@llimona
Mon, 08 Oct 2007 12:59:27 +0200
changeset 79 7d316733d4b1
parent 53 07500c5c53cb
permissions -rw-r--r--
Added filterdes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
53
07500c5c53cb Adding license and web html.
viric@llimona
parents: 24
diff changeset
     1
/*
07500c5c53cb Adding license and web html.
viric@llimona
parents: 24
diff changeset
     2
    Terminal Mixer - multi-point multi-user access to terminal applications
07500c5c53cb Adding license and web html.
viric@llimona
parents: 24
diff changeset
     3
    Copyright (C) 2007  LluĂ­s Batlle i Rossell
07500c5c53cb Adding license and web html.
viric@llimona
parents: 24
diff changeset
     4
07500c5c53cb Adding license and web html.
viric@llimona
parents: 24
diff changeset
     5
    Please find the license in the provided COPYING file.
07500c5c53cb Adding license and web html.
viric@llimona
parents: 24
diff changeset
     6
*/
24
03ddd5ab560b Moving to modules.
viric@llimona
parents:
diff changeset
     7
#include <unistd.h>
03ddd5ab560b Moving to modules.
viric@llimona
parents:
diff changeset
     8
03ddd5ab560b Moving to modules.
viric@llimona
parents:
diff changeset
     9
void send_to_client_stdout(const char *buf, int len)
03ddd5ab560b Moving to modules.
viric@llimona
parents:
diff changeset
    10
{
03ddd5ab560b Moving to modules.
viric@llimona
parents:
diff changeset
    11
    write(1, buf, len);
03ddd5ab560b Moving to modules.
viric@llimona
parents:
diff changeset
    12
}