Displaying 1 result from an estimated 1 matches for "has_magic_number".
2004 Sep 11
2
[LLVMdev] lib/System Changes
...teRWX function. This function
has been implemented to use variants of mmap on Unix platforms and
VirtualAlloc on Win32.
(2) The functions in "FileUtilities.h" for checking magic numbers and
determining the type of a function have been added to the Path class.
There are three new methods: has_magic_number, is_bytecode_file, and
is_archive. These have been implemented as "generic Unix" functions in
the lib/System/Unix directory. They *should* work on all Unix platforms.
The functions haven't been implemented for Win32.
(3) The sys::Process::GetPageSize() method has been implemented in...