Magic
Object Hierarchy:
Description:
[ SimpleType ]
[ CCode ( cname = "magic_t" , destroy_function = "magic_close" , lower_case_cprefix = "magic_" ) ]
public struct Magic
Content:
Properties:
- public int errno { get; }
- public string? error { get; }
- public int flags { set; }
Creation methods:
Methods:
- public unowned string? buffer (uint8[]? buffer)
- public int check (string filename)
- public int compile (string filename)
- public unowned string? descriptor (int fd)
- public unowned string? file (string filename)
- public int list (string filename)
- public int load (string? filename = null)