The Sleuth Kit  4.2
Macros | Typedefs
tsk_os.h File Reference

Contains some OS-specific type settings. More...

Macros

#define _TSK_T(x)   x
 
#define GETOPT   getopt
 
#define OPTARG   optarg
 
#define OPTIND   optind
 
#define PRIcTSK   _TSK_T("s")
 sprintf macro to print a UTF-8 char string to TSK_TCHAR buffer
 
#define PRIttocTSK   "s"
 printf macro to print a TSK_TCHAR string to stderr or other char device
 
#define PRIuSIZE   "zu"
 printf macro to print a size_t value in non-Windows printf codes
 
#define PRIwTSK   _TSK_T("S")
 sprintf macro to print a UTF-16 wchar_t string to TSK_TCHAR buffer
 
#define STAT_STR   stat
 
#define TATOI   atoi
 
#define TFPRINTF   fprintf
 
#define TPUTENV   putenv
 
#define TSNPRINTF   snprintf
 
#define TSTAT   stat
 
#define TSTRCHR   strchr
 
#define TSTRCMP   strcmp
 
#define TSTRICMP   strcasecmp
 
#define TSTRLEN   strlen
 
#define TSTRNCAT   strncat
 
#define TSTRNCMP   strncmp
 
#define TSTRNCPY   strncpy
 
#define TSTRRCHR   strrchr
 
#define TSTRTOK   strtok
 
#define TSTRTOUL   strtoul
 
#define TSTRTOULL   strtoull
 
#define TZSET   tzset
 

Typedefs

typedef char TSK_TCHAR
 Character data type that is UTF-16 (wchar_t) in Windows and UTF-8 (char) in Unix.
 

Detailed Description

Contains some OS-specific type settings.


Copyright © 2007-2015 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.