client_term.c
author Lluís Batlle <viric@viric.name>
Thu, 20 Mar 2014 16:29:13 +0100
branchsaveflie
changeset 96 d090ddac5131
parent 53 07500c5c53cb
permissions -rw-r--r--
Fixing the build on linux, gcc linking parameters order
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
}