File: purelibc.h

package info (click to toggle)
purelibc 1.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 192 kB
  • sloc: ansic: 2,271; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _PURELIBC_H
#define _PURELIBC_H

typedef long int (*sfun)(long int __sysno, ...);

#define PUREFLAG_STDIN (1<<STDIN_FILENO)
#define PUREFLAG_STDOUT (1<<STDOUT_FILENO)
#define PUREFLAG_STDERR (1<<STDERR_FILENO)
#define PUREFLAG_STDALL (PUREFLAG_STDIN|PUREFLAG_STDOUT|PUREFLAG_STDERR)

sfun _pure_start(sfun pure_syscall, int flags);

long _pure_debug_printf(const char *format, ...);

#endif