4 * Copyright (c) 1992, 1993, 1994
5 * The Regents of the University of California. All rights reserved.
6 * Copyright (c) 1992, 1993, 1994, 1995, 1996
7 * Keith Bostic. All rights reserved.
9 * See the LICENSE file for redistribution information.
15 static const char sccsid
[] = "Id: ex_put.c,v 10.8 2001/06/25 15:19:18 skimo Exp (Berkeley) Date: 2001/06/25 15:19:18";
18 #include <sys/types.h>
19 #include <sys/queue.h>
21 #include <bitstring.h>
27 #include "../common/common.h"
30 * ex_put -- [line] pu[t] [buffer]
31 * Append a cut buffer into the file.
33 * PUBLIC: int ex_put __P((SCR *, EXCMD *));
36 ex_put(SCR
*sp
, EXCMD
*cmdp
)
45 FL_ISSET(cmdp
->iflags
, E_C_BUFFER
) ? &cmdp
->buffer
: NULL
,