rusi/include/stdvv.h

25 lines
697 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// stdvv.h - стандартный ввод/вывод для русского C
#ifndef _STDVV_H
#define _STDVV_H
#define NULL ((void*)0)
// Системные вызовы
long syscall3(long number, long arg1, long arg2, long arg3);
// Функции вывода
int печатьф(const char *формат, ...);
int печать(const char *строка);
int симв_вывод(int c);
int вывод_строки(const char *строка);
// Завершение программы
void завершение(int код);
// Длина строки
long длина_строки(const char *s);
// assert для тестов
void assert(int expected, int actual, char *code);
#endif