copylet.c revision b7d62af5b42f0da2eb668e8d33d24d2f4fdd98a8
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
if (fflush(f) != 0)
return(rc);
int num;
if (!sending) {
clr_hinfo();
return (FALSE);
if (pushrest) {
if (!sending) {
return(FALSE);
return(FALSE);
return(FALSE);
switch(type) {
case REMOTE:
return(FALSE);
case TTY:
case ORDINARY:
return(FALSE);
rtrncont = 0;
return(FALSE);
if (affcnt > 0) {
i += (affbytecnt
if (orig_tcopy) {
i += rcvbytecnt;
return(FALSE);
return(FALSE);
if (fflush(f))
return(FALSE);
if ((n > 0) && !suppress) {
return (FALSE);
return(FALSE);
return (FALSE);
if (pushrest) {
switch (htype) {
case H_CONT:
if (sending) {
case H_TCOPY:
case H_MIMEVERS:
case H_CTYPE:
case H_CLEN:
if (!sending) {
case H_EOH:
case H_AFWDFROM:
case H_AFWDCNT:
case H_RECEIVED:
return(FALSE);
return(FALSE);
return (TRUE);
if (clen >= 0) {
k = clen - n;
if (rtrncont)
return(FALSE);
return(FALSE);
return(FALSE);
return(TRUE);