2 * Copyright (c) 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 1992, 1993, 1994, 1995, 1996
5 * Keith Bostic. All rights reserved.
7 * See the LICENSE file for redistribution information.
12 #include <sys/types.h>
13 #include <sys/queue.h>
16 #include <bitstring.h>
22 #include "../common/common.h"
25 * ex_put -- [line] pu[t] [buffer]
26 * Append a cut buffer into the file.
28 * PUBLIC: int ex_put(SCR *, EXCMD *);
31 ex_put(SCR *sp, EXCMD *cmdp)
40 FL_ISSET(cmdp->iflags, E_C_BUFFER) ? &cmdp->buffer : NULL,