projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Messi gli esempi nel testo e usata daemon dove serve nei server
[gapil.git]
/
sources
/
ReadMonitor.c
diff --git
a/sources/ReadMonitor.c
b/sources/ReadMonitor.c
index 80a77c7f71815cf2828f9507d1c35363536de0b5..9951358e5a76c5fc9f1824634d99c1935c562020 100644
(file)
--- a/
sources/ReadMonitor.c
+++ b/
sources/ReadMonitor.c
@@
-25,7
+25,7
@@
*
* Author: S. Piccardi Jan. 2003
*
*
* Author: S. Piccardi Jan. 2003
*
- * $Id: ReadMonitor.c,v 1.
1 2003/01/10 09:28:49
piccardi Exp $
+ * $Id: ReadMonitor.c,v 1.
2 2003/01/12 00:24:28
piccardi Exp $
*
*****************************************************************************/
#include <sys/types.h>
*
*****************************************************************************/
#include <sys/types.h>
@@
-90,7
+90,7
@@
int main(int argc, char *argv[])
*
* ***********************************************************/
/* create needed IPC objects */
*
* ***********************************************************/
/* create needed IPC objects */
- key = ftok("
./DirMonitor.c", 1);
/* define a key */
+ key = ftok("
~/gapil/sources/DirMonitor.c", 1);
/* define a key */
shmid = shmget(key, 4096, 0); /* get a shared memory ID */
if (shmid < 0) {
perror("Cannot find shared memory");
shmid = shmget(key, 4096, 0); /* get a shared memory ID */
if (shmid < 0) {
perror("Cannot find shared memory");