Compare commits

...

10 Commits

Author SHA1 Message Date
djonker
b29b2202fc readmeupdate 2023-03-11 04:22:09 +01:00
djonker
afa5b25e2c readmetest 2023-03-11 03:28:35 +01:00
djonker
63f609734e readmetest 2023-03-11 03:27:41 +01:00
djonker
ae0b450b56 readmetest 2023-03-11 03:27:16 +01:00
djonker
f6f6fcf077 readmetest 2023-03-11 03:23:28 +01:00
djonker
0075a38971 readmetest 2023-03-11 03:17:25 +01:00
djonker
90ec7bf553 readmetest 2023-03-11 02:50:33 +01:00
djonker
518bb0cab0 readmetest 2023-03-11 02:45:21 +01:00
djonker
23aa8f515d readmetest 2023-03-11 02:44:20 +01:00
djonker
4df34c410c readmetest 2023-03-11 02:42:15 +01:00

View File

@ -1,6 +1,5 @@
# Minitalk # Minitalk
## Description Minitalk is a simple project that requires you to use unix signals to send over strings between 2 programs.\
Minitalk is a simple project that requires you to use unix signals to send over strings between 2 programs.
We can only use **SIGUSR1** and **SIGUSR2** and we can use the kill function to send them over We can only use **SIGUSR1** and **SIGUSR2** and we can use the kill function to send them over
--- ---
@ -15,7 +14,22 @@ We can only use **SIGUSR1** and **SIGUSR2** and we can use the kill function to
- it keeps ignoring signals from other PIDs untill it received \0 from the current pid - it keeps ignoring signals from other PIDs untill it received \0 from the current pid
- after \0 is received pid is set back to 1 - after \0 is received pid is set back to 1
---
## Usage
1. Simply clone or download the repository
2. Run `make` in the cloned directory
3. Start the server with `./server` in the cloned directory
4. Open a second terminal in the same directory and run `./client [PID from server] ["Message in quotes"]`
--- ---
## Tester ## Tester
### Todo
- add valgrind to tester - add valgrind to tester
- check for -Wall -Werror -Wextra - check for -Wall -Werror -Wextra
### Usage
1. Download test.sh into your own minitalk directory
2. Make the file executable `chmod +x test.sh`
3. Run `./test.sh` to start the test
---
[This project is part of the studies at 42](https://42.fr/en/homepage/)