php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
is_tar.c File Reference
#include "file.h"
#include "magic.h"
#include <string.h>
#include <ctype.h>
#include "tar.h"

Go to the source code of this file.

Macros

#define isodigit(c)
 

Functions

file_private int is_tar (const unsigned char *, size_t)
 
file_private int from_oct (const char *, size_t)
 
file_protected int file_is_tar (struct magic_set *ms, const struct buffer *b)
 

Macro Definition Documentation

◆ isodigit

#define isodigit ( c)
Value:
( ((c) >= '0') && ((c) <= '7') )

Definition at line 51 of file is_tar.c.

Function Documentation

◆ file_is_tar()

file_protected int file_is_tar ( struct magic_set * ms,
const struct buffer * b )

Definition at line 63 of file is_tar.c.

◆ from_oct()

file_private int from_oct ( const char * where,
size_t digs )

Definition at line 157 of file is_tar.c.

◆ is_tar()

file_private int is_tar ( const unsigned char * buf,
size_t nbytes )

Definition at line 99 of file is_tar.c.