~nabijaczleweli/febug

ref: 6c7bde18e1010b5a44ca1b39e2c94473f62effbf febug/how.dot -rw-r--r-- 1.6 KiB
6c7bde18наб Add MacOS PDF manual link. Fix extra space in febug.8 --{help,version} 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
digraph febug {
	subgraph server {
		listen [label="Listening",shape=box];
		maybe_first [label="If first, assign directory",shape=box];
		receive_febug_message [label="Make file under directory",shape=box];
		receive_stop_febug_message [label="Disappear file",shape=box];
		definitely_last [label="Disappear directory",shape=box];

		send_open [label="Send attn_febug_message and pipe",shape=box];
		send_kill [label="Send signal, if requested",shape=box];
		send_read [label="Copy from pipe",shape=box];
	}

	subgraph program {
		connection [label="Connection"];
		febug_message [label="Sends febug_message"];
		doing_stuff [label="Does stuff"];
		stop_febug_message [label="Sends stop_febug_message"];
		hang_up [label="Disconnection"];

		get_signal [label="Serialise data to pipe"];
	}

	subgraph user {
		open [label="open(\"/420/cool_data\")",shape=trapezium];
		read [label="read(3, buf)",shape=trapezium];
		close [label="close(3)",shape=trapezium];
	}

	listen -> listen;
	maybe_first -> receive_febug_message;
	receive_febug_message -> listen;
	receive_stop_febug_message -> listen;
	definitely_last -> listen;

	connection -> febug_message;
	febug_message -> doing_stuff;
	doing_stuff -> stop_febug_message;
	stop_febug_message -> hang_up;

	connection -> listen;
	febug_message -> maybe_first;
	stop_febug_message -> receive_stop_febug_message;
	hang_up -> definitely_last;

	open -> listen;
	open -> read;
	read -> close;
	read -> send_read;
	listen -> send_open;
	send_open -> send_kill;
	send_kill -> open;
	send_open -> get_signal;
	get_signal -> send_read;
	send_read -> read;
}