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

Go to the source code of this file.

Data Structures

union  myword
 

Macros

#define DPRINTF(fmt, ...)
 
#define SIMH_TAPEMARKS   10
 
#define NEED_SWAP   (simh_bo.u == CAST(uint32_t, 0x01020304))
 

Functions

int file_is_simh (struct magic_set *ms, const struct buffer *b)
 

Macro Definition Documentation

◆ DPRINTF

#define DPRINTF ( fmt,
... )

Definition at line 55 of file is_simh.c.

◆ NEED_SWAP

#define NEED_SWAP   (simh_bo.u == CAST(uint32_t, 0x01020304))

Definition at line 75 of file is_simh.c.

◆ SIMH_TAPEMARKS

#define SIMH_TAPEMARKS   10

Definition at line 65 of file is_simh.c.

Function Documentation

◆ file_is_simh()

int file_is_simh ( struct magic_set * ms,
const struct buffer * b )

Definition at line 149 of file is_simh.c.