Teonet library
0.4.7
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <sys/mman.h>
Functions | |
void * | create_shared_memory (size_t size) |
Ping IPC pipe test application, version 0.0.1. More... | |
double | gettime () |
int | main (int argc, char **argv) |
Variables | |
const double | NSECONDS = 1000000000.0 |
void* create_shared_memory | ( | size_t | size | ) |
Ping IPC pipe test application, version 0.0.1.
This application open pipe create process send data to this process and calculate sending time. To transfer started time to child process the shared memory used.
By Kirill Scherba™, 2019-01-24.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
References create_shared_memory(), fd, gettime(), and NSECONDS.