menuformat.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
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.
#include "private.h"
return (E_BAD_ARGUMENT);
if (Posted(m)) {
return (E_POSTED);
if (rows == 0) {
if (cols == 0) {
if (Pattern(m)) {
Pindex(m) = 0;
Top(m) = 0;
SetLink(m);
_scale(m);
if (rows > 0) {
if (cols > 0) {
return (E_OK);