File flock.c


Included Files


Local Variables

lfile
static char* lfile
Used in: hangup()
  main()

cfile
static char cfile[20]
Used in: hangup()
  main()


Global Function hangup()

void hangup ( int unused )
Calls: exit(), printf(), remove()
Called by: main()flock.c
Used in: main()flock.c
References Variables: cfileflock.c
  lfileflock.c

Global Function main()

int main ( int argc, char** argv, void )
Calls: hangup()flock.c
  atoi(), exit(), fork(), fprintf(), getpid(), getppid(), isatty(), kill(), lockf(), open(), perror(), printf(), read(), remove(), signal(), sleep(), sprintf(), strchr(), strlen(), strrchr(), system(), ttyname(), write()
References Functions: hangup()flock.c
  xit()flock.c
References Variables: cfileflock.c
  lfileflock.c

Global Function xit()

void xit ( int sig )
Calls: exit()
Used in: main()flock.c