/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*LINTLIBRARY*/
#ifndef lint
static char
#endif /* not lint */
/*
* allocate space for and set up defaults for a new window
*
*/
#include "curses.ext"
#include <malloc.h>
/* forward declaration */
WINDOW *
{
char *sp;
int j;
if (nl == 0)
if (nc == 0)
return (ERR);
return (NULL);
}
return (NULL);
}
for (i = 0; i < nl; i++) {
}
for (i = 0; i < nl; i++)
for (j = 0; j < i; j++)
return (ERR);
}
else
*sp++ = ' ';
#ifdef DEBUG
#endif
return (win);
}
WINDOW *
{
/*
* make sure window fits inside the original one
*/
#ifdef DEBUG
#endif
return (ERR);
if (nl == 0)
if (nc == 0)
return (ERR);
return (win);
}
/*
* this code is shared with mvwin()
*/
void
{
int i, j, k;
#ifdef DEBUG
#endif
}
/*
* This routine sets up a window buffer and returns a pointer to it.
*/
static WINDOW *
{
#ifdef DEBUG
#endif
return (NULL);
#ifdef DEBUG
#endif
return (NULL);
}
#ifdef DEBUG
#endif
#ifdef DEBUG
#endif
return (win);
}
void
{
}
}
}