OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i960/] [rxgen960/] [startup/] [frmstr.h] - Blame information for rev 562

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/* frmstr.h
2
 * Interface to procedures used to implement
3
 * the printf group.
4
 *
5
 *  $Id: frmstr.h,v 1.2 2001-09-27 11:59:59 chris Exp $
6
 */
7
 
8
#ifndef _FRMSTR_H_
9
#define _FRMSTR_H_
10
 
11
#ifdef __i960
12
 
13
typedef int ArgType;
14
typedef unsigned int ArgType_U;
15
 
16
#else
17
 
18
typedef long ArgType;
19
typedef unsigned long ArgType_U;
20
 
21
#endif
22
 
23
  /* Format a string.
24
   */
25
extern int format_string(const char * frmt, ArgType * args, char * buffer);
26
  /* Get arguments from formatted string.
27
   */
28
extern int unformat_string(const char * fmt, int ** argp, const char * buffer);
29
 
30
  /* Definitions for control characters.
31
   */
32
#define BELL            ('G' & 0x1f)
33
#define BACKSPACE       '\b'
34
#define DELETE          0x7f
35
#define KILL            ('U' - 'A' + 1)
36
#define XON             ('Q' & 0x1f)
37
#define XOFF            ('S' & 0x1f)
38
#define CNTRL_C         0x3
39
 
40
#endif
41
 
42
  /* End of File
43
   */
44
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.