usaa24/cv7/program.c
Bohdan Kapliuk db623c28ad sk1
2025-01-12 15:32:10 +02:00

13 lines
339 B
C
Raw 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.

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
void printchar(char c) { write(1, &c, 1);
}
int main() {
// Пишет символ 'c' в стандартный вывод
printchar('A'); // Bыbodum сuмbол do fork()
fork(); // Создается новый процесс
printchar('B');
return 0;
}