client_term.c
author Lluís Batlle <viric@viric.name>
Thu, 20 Mar 2014 16:33:27 +0100
changeset 97 eea77d5a624c
parent 53 07500c5c53cb
permissions -rw-r--r--
Merging the savefile branch. I hope it works; I even don't remember it.
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
}