1 /* This file is part of the Project Athena Zephyr Notification System.
2 * It is one of the source files comprising zwgc, the Zephyr WindowGram
5 * Created by: Marc Horowitz <marc@athena.mit.edu>
7 * $Id: buffer.c 2133 2008-01-21 03:11:44Z kcr $
9 * Copyright (c) 1989 by the Massachusetts Institute of Technology.
10 * For copying and distribution information, see the file
16 #if (!defined(lint) && !defined(SABER))
17 static const char rcsid_buffer_c[] = "$Id: buffer.c 2133 2008-01-21 03:11:44Z kcr $";
20 #include <zephyr/mit-copyright.h>
22 #include "new_memory.h"
25 static char *buffer = 0;
28 buffer_to_string(void)
39 buffer = string_Copy("");
43 append_buffer(char *str)
45 buffer = string_Concat2(buffer, str);