exo 1 + pgl
This commit is contained in:
		
							
								
								
									
										20
									
								
								bac2/os/chap3/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								bac2/os/chap3/Makefile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					.PHONY: clean, mrproper
 | 
				
			||||||
 | 
					CC = gcc
 | 
				
			||||||
 | 
					CFLAGS = -g -Wall
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					all: ex1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%.o: %.c
 | 
				
			||||||
 | 
						$(CC) $(CFLAGS) -c -o $@ $<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ex1: ex1.o
 | 
				
			||||||
 | 
						$(CC) $(CFLAGS) -o $@ $+
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clean:
 | 
				
			||||||
 | 
						rm -f *.o core.*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					mrproper: clean
 | 
				
			||||||
 | 
						rm -f ex1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					run: ex1
 | 
				
			||||||
 | 
						./$<
 | 
				
			||||||
							
								
								
									
										17
									
								
								bac2/os/chap3/ex1.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								bac2/os/chap3/ex1.c
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					#include <unistd.h>
 | 
				
			||||||
 | 
					#include <stdio.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define printv(x) printf("%s = %d\n", (#x), (x))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					int main(void)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						int f1, f2, f3;
 | 
				
			||||||
 | 
						f1 = fork();
 | 
				
			||||||
 | 
						printv(f1);
 | 
				
			||||||
 | 
						f2 = fork();
 | 
				
			||||||
 | 
						printv(f2);
 | 
				
			||||||
 | 
						f3 = fork();
 | 
				
			||||||
 | 
						printv(f3);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						printf(" all => %d, %d, %d\n", f1, f2, f3);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										27
									
								
								bac2/pgl/notes.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								bac2/pgl/notes.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,27 @@
 | 
				
			|||||||
 | 
					# Notes pour PGL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 24 octobre 2023 - Remarques des descriptions individuelles
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- l'extension doit étre compatible avec le système de base
 | 
				
			||||||
 | 
					    - example: support des langues
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Messagerie
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Forum (espace de discussion)
 | 
				
			||||||
 | 
					- Groupe
 | 
				
			||||||
 | 
					    - Creation a partir d'un json/csv contenant toutes les personnes
 | 
				
			||||||
 | 
					    - export en fonction
 | 
				
			||||||
 | 
					        - dates
 | 
				
			||||||
 | 
					        - autre...
 | 
				
			||||||
 | 
					- RDV
 | 
				
			||||||
 | 
					    - calendrier
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Attente pour modelisation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Un rapport pour le groupe entier avec une partie par extensions individuelle
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					tout sur un seul pdf mais sectionné par extensions.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- use case diagram
 | 
				
			||||||
 | 
					- class diagram
 | 
				
			||||||
 | 
					- rest api diagram
 | 
				
			||||||
		Reference in New Issue
	
	Block a user