home *** CD-ROM | disk | FTP | other *** search
- /*
- * frwrtf.c
- * contains: frwrtf()
- *
- */
-
- #include <stdio.h>
- #include "gfuncts.h"
-
-
- /*
- * void
- * frwrtf(int attribute,char *fmt,?arg)
- *
- * ARGUMENT
- * attribute - physical video attribute to use
- * fmt - format string
- * arg - variable argument list
- *
- * DESCRIPTION
- * Write formated and attributes at cursor.
- *
- * RETURNS
- * void
- *
- * AUTHOR
- * "" 20-DEC-1988 09:38:43.45
- * Copyright (C)1988-1990 Greenleaf Software Inc. All Rights Reserved.
- *
- * MODIFICATIONS
- *
- *
- */
-
- #ifndef _MSC
- void GF_CDECL frwrtf(attr,fmt)
- #else
- void GF_CDECL frwrtf(attr,fmt,...)
- #endif
- char *fmt;
- int attr;
- {
- char **value;
- value=&fmt;
- sprintf(_gfspbuf,fmt,
- value[1],value[2],value[3],value[4],value[5],value[6],
- value[7],value[8],value[9],value[10]
- #ifndef _LDATA
- ,value[11],value[12],value[13],value[14],value[15],value[16],
- value[17],value[18],value[19],value[20]
- #endif
- );
- frwstr(attr,_gfspbuf);
- }
-
-