1
mirror of https://github.com/hashcat/hashcat synced 2024-12-01 20:18:12 +01:00
hashcat/include/locking.h

20 lines
303 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _LOCKING_H
#define _LOCKING_H
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
int lock_file (FILE *fp);
int unlock_file (FILE *fp);
#endif // _LOCKING_H