Lines Matching full:magic
48 .Nd Magic number recognition library
52 .In magic.h
91 operate on the magic database file
94 .Xr magic __FSECTION__ .
98 creates a magic cookie pointer and returns it.
101 if there was an error allocating the magic cookie.
104 argument specifies how the other magic functions should behave:
126 Check the magic database for consistency and print warnings to stderr.
137 as real errors, instead of printing them in the magic buffer.
159 Don't consult magic files.
177 .Xr magic __FSECTION__
262 function dumps all magic entries in a human readable format,
278 for the default database file before any magic queries can performed.
280 The default database file is named by the MAGIC environment variable.
295 loaded with the contents of the magic databases from the filesystem.
296 This function can be used in environment where the magic library does
297 not have direct access to the filesystem, but can access the magic
304 allow getting and setting various limits related to the magic
323 indirect magic entries.
364 parameter controls the maximum number of warnings to tolerate in a magic file.
372 .In magic.h .
378 command returns the colon separated list of magic database locations.
383 .Dv MAGIC
387 is 0 (meaning "file load"), then any user-specific magic database file is included.
388 Otherwise, only the system default magic database path is included.
392 returns a magic cookie on success and
434 The non-compiled default magic database.
436 The compiled default magic database.
440 .Xr magic __FSECTION__