Skip to content

Instantly share code, notes, and snippets.

View ManAvoCoder's full-sized avatar

mannobody ManAvoCoder

  • Romashki
  • Berdsk
View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <errno.h>
#include <signal.h>
// ====================== Глобальные переменные ======================
@ManAvoCoder
ManAvoCoder / lab5.c
Last active April 30, 2026 02:05
lab 5
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
int global_var = 42;
int main() {
int local_var = 52;