Functions

fifo_fnc.c File Reference

MI Fifo :: Functions. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
#include "../../dprint.h"
#include "../../ut.h"
#include "../../lib/kmi/mi.h"
#include "../../mem/mem.h"
#include "../../mem/shm_mem.h"
#include "../../cfg/cfg_struct.h"
#include "mi_fifo.h"
#include "fifo_fnc.h"
#include "mi_parser.h"
#include "mi_writer.h"
Include dependency graph for fifo_fnc.c:

Go to the source code of this file.

Functions


Detailed Description

Definition in file fifo_fnc.c.


Function Documentation

static int mi_fifo_check ( int  fd,
char *  fname 
) [static]

checks if fd is a fifo, is not hardlinked and it's not a softlink opened file descriptor + file name (for soft link check)

Returns:
0 if ok, <0 if not

Definition at line 145 of file fifo_fnc.c.

Referenced by mi_open_reply_pipe().

Here is the caller graph for this function: