tahamajs's picture
download
raw
509 Bytes
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
int main() {
// مسیر لوله نام‌گذاری‌شده
char *fifo_path = "/tmp/myfifo";
// ایجاد لوله نام‌گذاری‌شده با مجوز خواندن/نوشتن
if (mkfifo(fifo_path, 0666) == -1) {
perror("خطا در ایجاد FIFO");
exit(EXIT_FAILURE);
}
printf("FIFO در مسیر %s ایجاد شد\n", fifo_path);
return 0;
}

Xet Storage Details

Size:
509 Bytes
·
Xet hash:
37d3e095747cb50ab47533945ba177721196c682eb955e86542efacb96716cf8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.