sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 62ae94ad8d9c4c6a7dc93524d5a3e36d5e537db1
parent c0caee8b9bb9e26a7db021e87f01dd99f109c415
Author: Thuban <thuban@singularity.fr>
Date:   Fri, 21 Jun 2013 15:13:33 +0200

add fifo creation in main

Diffstat:
Mdwm.suckless.org/dwmstatus/fifo.c | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/dwm.suckless.org/dwmstatus/fifo.c b/dwm.suckless.org/dwmstatus/fifo.c @@ -38,4 +38,14 @@ snotif() } +int +main(void) +{ + int ret = 0; + ret = mkfifo(FIFO, ACCESSPERMS); + if (ret == -1) perror("fifo creation"); + + // your code + return 0; +}