;
; emxlibc.tss
;
G STDIO
T API
v clearerr (p stream)
i fclose (p stream)
i feof (p stream)
i ferror (p stream)
i fflush (p stream)
i fgetc (p stream)
i fgetpos (p stream, p pos)
i fgetpos_09b (p stream, p pos)
p fgets (p buffer, i size, p stream)
i fileno (p stream)
p fopen (s fname, s mode)
i fprintf (p stream, p format)
i fputc (i char, p stream)
i fputs (p string, p stream)
i fread (p buffer, i size, i count, p stream)
p freopen (s fname, s mode, p stream)
i fscanf (p stream, p format)
i fseek (p stream, i offset, i origin)
i fsetpos (p stream, p pos)
i fsetpos_09b (p stream, p pos)
i ftell (p stream)
i fwrite (p buffer, i size, i count, p stream)
i getchar ()
p gets (p buffer)
v perror (p string)
i printf (p format)
i putchar (i char)
i puts (p string)
i remove (s fname)
i rename (s oldfname, s newfname)
v rewind (p stream)
i scanf (p format)
i setbuf (p stream, p buffer)
i setvbuf (p stream, p buffer, i mode, i size)
i sprintf (p buffer, p format)
i sscanf (p buffer, p format)
p tmpfile ()
p tmpnam (p string)
i ungetc (i char, p stream)
i vfprintf (p stream, p format, p va_list)
i vprintf (p format, p va_list)
i vsprintf (p buffer, p format, p va_list)
p fdopen (i handle, s mode)
p cuserid (p buffer)
i getw (p stream)
i fcloseall ()
i fgetchar ()
i flushall ()
i fputchar (i char)
i pclose (p stream)
p popen (p command, s mode)
i putw (i word, p stream)
i setbuffer (p stream, p buffer, i size)
i snprintf (p buffer, i size, p format)
p tempnam (p dir, p prefix)
i vfscanf (p stream, p format, p va_list)
i vscanf (p format, p va_list)
i vsnprintf (p buffer, i size, p format, p va_list)
i vsscanf (p buffer, p format, p va_list)
p _fassign (p target_stream, p source_stream)
i _fseek_hdr (p stream)
p _fsetmode (p stream, s mode)
p _fsopen (s fname, s mode, i shflag)
i _getc_inline (p stream)
p _mfclose (p stream)
p _mfopen (p buffer, s mode, i size, i inc)
i _putc_inline (i char, p stream)
i _rmtmp ()

T INT
v _fbuf (p stream)
p _fd_flags (i handle)
p _fd_init (i handle)
p _fd_lookahead (i handle)
i _fill (p stream)
i _flush (i char, p stream)
p _fopen (p dst, s fname, s mode, i shflag, i lock)
p _newstream ()

G LOWIO
T API
i access (s fname, i mode)
i chmod (s fname, i pmode)
i chsize (i handle, i size)
i close (i handle)
i creat (s fname, i pmode)
i dup (i handle)
i dup2 (i handle1, i handle2)
i eof (i handle)
i fcntl (i handle, i request)
i filelength (i handle)
i flock (i handle, i operation)
i fstat (i handle, p buffer)
i fsync (i handle)
i ftruncate(i handle, i size)
i ioctl (i handle, i request)
i isatty (i handle)
i lseek (i handle, i offset, i origin)
i mkstemp (p string)
p mktemp (p string)
i open (s fname, i oflag)
i pipe (p two_handles)
i read (i handle, p buffer, i size)
i readv (i handle, p vector, i count)
i select (i nfds, p readfds, p writefds, p exceptfds, p timeout)
i setmode (i handle, i mode)
i sopen (s fname, i oflag, i shflag)
i stat (s path, p buffer)
i tell (i handle)
i truncate (s fname, i size)
p ttyname (i handle)
i umask (i pmode)
i unlink (p fname)
i utime (s path, p times)
i utimes (s path, p tvp)
i write (i handle, p buffer, i size)
i writev (i handle, p vector, i count)
i _crlf (p buffer, i size, p new_size)
i _imphandle (i handle)
i _isterm (i handle)
i _seek_hdr (i handle)

T INT
i _vsopen (s fname, i oflag, i shflag)

G PROCESS
T API
v abort ()
i atexit (p function)
i execl (s program, p arg0)
i execle (s program, p arg0)
i execlp (s program, p arg0)
i execlpe (s program, p arg0)
i execv (s program, p args)
i execve (s program, p argv, p envp)
i execvp (s program, p argv)
i execvpe (s program, p argv)
i exit (i termination_code)
i fork ()
i getpid ()
i getppid ()
i spawnl (i mode, s program, p arg0)
i spawnle (i mode, s program, p arg0)
i spawnlp (i mode, s program, p arg0)
i spawnlpe (i mode, s program, p arg0)
i spawnv (i mode, s program, p argv)
i spawnve (i mode, s program, p argv, p envp)
i spawnvp (i mode, s program, p argv)
i spawnvpe (i mode, s program, p argv, p envp)
i system (p command)
i wait (p stat_loc)
i waitpid (i pid, p stat_loc, i options)
v _assert (p exp, s file, i line)
i _exit (i termination_code)
i _gettid ()
p _threadid ()

G TIME
T API
i alarm (i seconds)
p asctime (p tm)
p ctime (p time)
i clock ()
v difftime (i t1, i t0)
v ftime (p ptr)
i gettimeofday (p tp, p tzp)
p gmtime (p time)
p localtime (p time)
i mktime (p tm)
i sleep (i seconds)
i settimeofday (p tp, p tzp)
i strftime (p buffer, p format, p tm)
p strptime (p buffer, p format, p tm)
i time (p time)
i times (p buffer)
v tzset ()
i _sleep2 (i millisec)

T INT
i _day (i year, i month, i day)
i _mktime (p tm)

G SIGNAL
T API
p signal (i signo, p handler)
i raise (i signo)
i kill (i pid, i signo)
i pause ()
i sigaction (i signo, p iact, p oact)
i sigaddset (p set, i signo)
i sigdelset (p set, i signo)
i sigemptyset (p set)
i sigfillset (p set)
i sigismember (p set, i signo)
i sigpending (p set)
i sigprocmask (i how, p iset, p oset)
i sigsuspend (p set)

G FNAME
T API
i fnmatch (p pattern, p name, i flags)
i _abspath (p dst, p src, i dst_size)
v _defext (p path, p ext)
i _fncmp (p fname1, p fname2)
p _fnexplode (p mask)
v _fnexplodefree (p list)
i _fngetdrive (p path)
i _fnisabs (p path)
i _fnisrel (p path)
v _fnlwr (p path)
v _fnlwr2 (p path, p base)
p _fnslashify (p path)
i _fullpath (p dst, p src, i dst_size)
p _getext (p path)
p _getext2 (p path)
p _getname (p path)
v _makepath (p dst, p drive, p dir, p fname, p ext)
v _remext (p path)
v _rfnlwr ()
v _sfnlwr (p path)
v _splitpath (p src, p drive, p dir, p fname, p ext)

G MATH
T API
v acos (q x)
v asin (q x)
v atan (q x)
v atan2 (q y, q x)
v ceil (q x)
v cos (q x)
v cosh (q x)
v exp (q x)
v fabs (q x)
v floor (q x)
v fmod (q x, q y)
v frexp (q x, p exp_ptr)
v ldexp (q x, i exp)
v log (q x)
v log10 (q x)
v modf (q x, p int_ptr)
v pow (q x, q y)
v sin (q x)
v sinh (q x)
v sqrt (q x)
v tan (q x)
v tanh (q x)
v cbrt (q x)
v hypot (q x, q y)
v rint (q x)
v trunc (q x)
q _copysign (q x, q y)
i _copysignf (i x, i y)
v _copysignl ()                 ; TODO
q _nextafter (q x, q y)
i _nextafterf (i x, i y)
v _nextafterl ()                ; TODO

i __fpclassify (q x)
i __fpclassifyf (i x)
i __fpclassifyl ()              ; TODO
i __isfinite (q x)
i __isfinitef (i x)
i __isfinitel ()                ; TODO
i __isnan (q x)
i __isnanf (i x)
i __isnanl ()                   ; TODO
i __isnormal (q x)
i __isnormalf (i x)
i __isnormall ()                ; TODO
i __signbit (q x)
i __signbitf (i x)
i __signbitl ()                 ; TODO

v _acosl ()                     ; TODO
v _asinl ()                     ; TODO
v _atanl ()                     ; TODO
v _atan2l ()                    ; TODO
v _ceill ()                     ; TODO
v _cosl ()                      ; TODO
v _coshl ()                     ; TODO
v _expl ()                      ; TODO
v _fabsl ()                     ; TODO
v _floorl ()                    ; TODO
v _fmodl ()                     ; TODO
v _frexpl ()                    ; TODO
v _ldexpl ()                    ; TODO
v _logl ()                      ; TODO
v _log10l ()                    ; TODO
v _modfl ()                     ; TODO
v _powl ()                      ; TODO
v _sinl ()                      ; TODO
v _sinhl ()                     ; TODO
v _sqrtl ()                     ; TODO
v _tanl ()                      ; TODO
v _tanhl ()                     ; TODO
v _cbrtl ()                     ; TODO
v _hypotl ()                    ; TODO
v _rintl ()                     ; TODO
v _truncl ()                    ; TODO

i _clear87 ()
i _control87 (i new_cw, i mask)
v _fpreset ()
i _fxam (q x)
i _fxaml ()                     ; TODO
i _status87 ()

G INIT
T INT
i _CRT_init ()
v _CRT_term ()
i _DLL_InitTerm (i modhandle, i flag)
v _cleanup ()
v _entry1 ()
v _entry2 ()
v _startup ()
v __ctordtorInit1 (p ptr)
v __ctordtorTerm1 (p ptr)
v __eh_frame_init (p ptr)
v __eh_frame_term (p ptr)
v __register_frame_info_table (p ptr, p obj)
v __deregister_frame_info (p ptr)

G SYSCALL
T INT
i __accept (i handle, p addr, p paddrlen)
i __alarm (i seconds)
i __bind (i handle, p addr, i addrlen)
p __brk (p addr)
v __cgets (p buffer)
i __chdir (s path)
i __chmod (s fname, i flag, i attr)
i __chdrive (i drive)
i __chsize (i handle, i size)
q __clock ()
i __close (i handle)
i __connect (i handle, p addr, i addrlen)
i __core (i handle)
i __dup (i handle)
i __dup2 (i handle1, i handle2)
i __emx_version ()
i __endthread (i tid)
i __execname (p buffer, i size)
i __exit (i termination_code)
i __fcntl (i handle, i request, i arg)
i __filesys (p drive, p name, i size)
i __findfirst (p name, i attr, p buffer)
i __findnext (p buffer)
i __fork ()
i __fstat (i handle, p buffer)
i __fsync (i handle)
v __ftime (p ptr)
i __ftruncate (i handle, i size)
i __getcwd (p buffer, i drive)
i __getdrive ()
i __gethostbyaddr (p addr, i len, i type, p dst)
i __gethostbyname (p name, p dst)
i __gethostid (p dst)
i __gethostname (p name, i len)
i __getnetbyname (p name, p dst)
i __getnetbyaddr (i net, p dst)
i __getpeername (i handle, p name, p pnamelen)
i __getpid ()
i __getppid ()
i __getprotobyname (p name, p dst)
i __getprotobynumber (i prot, p dst)
i __getservbyname (p name, p proto, p dst)
i __getservbyport (i port, p proto, p dst)
i __getsockhandle (i handle)
i __getsockname (i handle, p name, p pnamelen)
i __getsockopt (i handle, i level, i optname, p optval, p poptlen)
i __imphandle (i handle)
i __impsockhandle (i handle, i flags)
i __initthread (p preg)
i __ioctl1 (i handle, i code)
i __ioctl2 (i handle, i request, i arg)
i __kill (i pid, i signo)
i __listen (i handle, i backlog)
i __lseek (i handle, i offset, i origin)
p __memaccess (i first, i last, i flag)
i __memavail ()
i __mkdir (s path)
i __newthread (i tid)
v __nls_ctype (p buffer)
v __nls_memupr (p buffer, i size)
i __open (s fname, i flags, i size)
i __os_version ()
v __pause ()
i __pipe (p two_handles, i pipe_size)
i __portaccess (i first, i last)
i __profil (p buffer)
i __ptrace (i request, i pid, i addr, i data)
i __raise (i signo)
i __read (i handle, p buffer, i size)
i __read_kbd (i echo, i wait, i sig)
i __recv (i handle, p buf, i len, i flags)
i __recvfrom (p args)
i __remove (s path)
i __rename (s old_name, s new_name)
i __rmdir (s path)
p __sbrk (i incr)
v __scrsize (p dst)
i __select (p args)
i __send (i handle, p buffer, i len, i flags)
i __sendto (p args)
i __setsockopt (i handle, i level, i optname, p optval, i optlen)
i __settime (p time)
i __shutdown (i handle, i how)
i __sigaction (i signo, p iact, p oact)
i __signal (i signo, p handler)
i __sigpending (p set)
i __sigprocmask (i how, p iset, p oset)
i __sigsuspend (p set)
i __sleep (i seconds)
i __sleep2 (i millisec)
i __socket (i domain, i type, i protocol)
i __spawnve (p new_proc)
i __stat (s fname, p buffer)
i __swchar (i flag, i new_char)
i __setsyserrno (i code)
i __syserrno ()
i __uflags (i mask, i new_flags)
i __ulimit (i cmd, i new_limit)
i __umask (i pmode)
v __unwind2 (p xcpt_reg_ptr)
i __utimes (s path, p tvp)
i __ttyname (i handle, p buffer, i size)
i __wait (p stat_loc)
i __waitpid (i pid, p stat_loc, i options)
i __write (i handle, p buffer, i size)

G MALLOC
T API
i brk (i addr)
p calloc (i elements, i size)
v free (p mem)
p malloc (i size)
p realloc (p mem, i size)
p sbrk (i incr)
p _expand (p mem, i size)
i _heapchk ()
i _heapmin ()
i _heapset (i fill)
i _heap_walk (p callback)
p _mheap (p mem)
i _msize (p mem)
p _tcalloc (i elements, i size)
v _tfree (p mem)
i _theapmin ()
p _tmalloc (i size)
p _trealloc (p mem, i size)
p _uaddmem (p heap, p memory, i size, i clean)
p _ucalloc (p heap, i elements, i size)
i _uclose (p heap)
p _ucreate (p memory, i size, i clean, i type, p alloc_fun, p release_fun)
p _ucreate2 (p memory, i size, i clean, i type, p alloc_fun, p release_fun, p expand_fun, p shrink_fun)
p _udefault (p heap)
i _udestroy (p heap)
i _uheapchk (p heap)
i _uheapmin (p heap)
i _uheapset (p heap, i fill)
i _uheap_type (p heap)
i _uheap_walk (p heap, p callback)
i _uheap_walk2 (p heap, p callback, p arg)
p _umalloc (p heap, i size)
i _uopen (p heap)
i _ustats (p heap, p pstats)
p _utcalloc (p heap, i elements, i size)
p _utdefault (p heap)
p _utmalloc (p heap, i size)

G STRING
T API
i bcmp (p string1, p string2, i size)
v bcopy (p src, p dst, i size)
v bzero (p dst, i size)
p index (p string, i char)
p memccpy (p buffer1, p buffer2, i char, i size)
p memchr (p buffer, i char, i size)
i memcmp (p buffer1, p buffer2, i size)
p memcpy (p dst, p src, i size)
i memicmp (p buffer1, p buffer2, i size)
p memmove (p dst, p src, i size)
p memset (p buffer, i char, i size)
p rindex (p string, i char)
p strcat (p dst, p src)
p strchr (p string, i char)
i strcmp (p string1, p string2)
i strcoll (p string1, p string2)
p strcpy (p dst, p src)
i strcspn (p string1, p string2)
p strdup (p string)
p strerror (i errno)
i strlen (p string)
p strncat (p dst, p src, i n)
i stricmp (p string1, p string2)
p strlwr (p string)
i strncmp (p string1, p string2, i n)
p strncpy (p dst, p src, i n)
i strnicmp (p string1, p string2, i n)
p strnset (p string, i char, i n)
p strpbrk (p string1, p string2)
p strrchr (p string, i char)
p strrev (p string)
v strset (p dst, i char)
i strspn (p string1, p string2)
p strstr (p string1, p string2)
p strtok (p string1, p string2)
p strupr (p string)
i strxfrm (p string1, p string2, i n)
i _memcount (p buffer, i char, i size)
i _memdif (p buffer1, p buffer2, i size)
p _memrchr (p buffer, i char, i size)
v _memswap (p buffer1, p buffer2, i size)
p _strncpy (p dst, p src, i size)

G CTYPE
T API
i isalnum (i char)
i isalpha (i char)
i isascii (i char)
i iscntrl (i char)
i isdigit (i char)
i isgraph (i char)
i islower (i char)
i isprint (i char)
i ispunct (i char)
i isspace (i char)
i isupper (i char)
i isxdigit (i char)
i toascii (i char)
i tolower (i char)
i toupper (i char)
i _tolower (i char)
i _toupper (i char)

G NLS
T API
v _nls_init ()
p _nls_strlwr (p string)
p _nls_strupr (p string)

G CONV
T API
v atof (p string)
i atoi (p string)
i atol (p string)
p gcvt (q x, i digits, p buffer)
v strtod (p string, p end)
i strtol (p string, p end, i radix)
i strtoul (p string, p end, i radix)
v _atofl (p string)
q _atoll (p string)
p _itoa (i x, p string, i radix)
p _lltoa (q x, p string, i radix)
p _ltoa (i x, p string, i radix)
i _strtof (p string, p end)
v _strtold (p string, p end)
q _strtoll (p string, p end, i radix)
q _strtoull (p string, p end, i radix)
p _ulltoa (q x, p string, i radix)
p _ultoa (i x, p string, i radix)

G LOCALE
T API
p setlocale (i category, s locale)
p localeconv ()
i mblen (p string, i size)
i mbstowcs (p dst, p src, i size)
i mbtowc (p dst, p src, i size)
i wcstombs (p dst, p src, i size)
i wctomb (p dst, p src)

T INT
p _localeconv (i char_max)

G PWD
T API
v endpwent ()
i getegid ()
i geteuid ()
i getgid ()
p getgrgid (i gid)
p getgrnam (p name)
i getgroups (i gidsetsize, p grouplist)
p getlogin ()
p getpass (p prompt)
i getpgrp ()
p getpwent ()
p getpwnam (p name)
p getpwuid (i uid)
i getuid ()
i setgid (i gid)
i setpgid (i pid, i pgid)
v setpwent ()
i setsid ()
i setuid (i uid)
p _getpass1 (p prompt)
p _getpass2 (p prompt, i kbd)

G DIR
T API
i chdir (s path)
i ftw (s path, p function, i depth)
p getcwd (p buffer, i size)
p getwd (p buffer)
i glob (p pattern, i flags, p errfunc, p pglob)
v globfree (p pglob)
i mkdir (s path, i mode)
p opendir (s name)
i closedir (p dirp)
p readdir (p dirp)
v seekdir (p dirp, i off)
i telldir (p dirp)
v rewinddir (p dirp)
i rmdir (s path)
i _chdir2 (s path)
i _chdrive (i drive)
v _dt_free (p dt)
p _dt_read (s dir, s mask, i flags)
v _dt_sort (p dt, s spec)
i _dt_split (s src, p dir, p mask)
i _getcwd1 (p buffer, i drive)
p _getcwd2 (p buffer, i size)
i _getdrive ()
v _wildcard (p argcp, p argvp)

G TERMIOS
T API
i cfgetispeed (p ptermios)
i cfgetospeed (p ptermios)
i cfsetispeed (p ptermios, i speed)
i cfsetospeed (p ptermios, i speed)
i tcdrain (i handle)
i tcflow (i handle)
i tcflush (i handle)
i tcgetattr (i handle, p ptermios)
i tcgetpgrp (i handle)
i tcsendbreak (i handle, i duration)
i tcsetattr (i handle, i options, p ptermios)
i tcsetpgrp (i handle, i pgrp)

G EA
T API
v _ea_free (p ptr)
i _ea_get (p dst, p path, i handle, s name)
i _ea_put (p src, p path, i handle, s name)
i _ea_remove (s path, i handle, s name)
i _ead_add (p ead, s name, i flags, p value, i size)
v _ead_clear (p ead)
i _ead_copy (p dst, p src, i index)
i _ead_count (p ead)
p _ead_create ()
i _ead_delete (p ead, i index)
v _ead_destroy (p ead)
i _ead_fea2list_size (p ead)
p _ead_fea2list_to_fealist (p src)
p _ead_fealist_to_fea2list (p src)
i _ead_find (p ead, s name)
p _ead_get_fea2list (p ead)
i _ead_get_flags (p ead, i index)
p _ead_get_name (p ead, i index)
p _ead_get_value (p ead, i index)
p _ead_name_len (p ead, i index)
i _ead_read (p ead, p path, i handle, i flags)
i _ead_replace (p ead, i index, i flags, p value, i size)
v _ead_sort (p ead)
i _ead_use_fea2list (p ead, p src)
i _ead_value_size (p ead, i index)
i _ead_write (p ead, p path, i handle, i flags)

G EMXLOAD
T API
i _emxload_env (p envname)
i _emxload_this (i seconds)
i _emxload_prog (p name, i seconds)
i _emxload_unload (p name, i wait_flag)
i _emxload_list_start ()
i _emxload_list_get (p buffer, i size, p pseconds)
i _emxload_connect ()
i _emxload_disconnect ()
i _emxload_stop (i wait_flag)

G SEM
T API
v _fmutex_checked_close (p sem)
v _fmutex_checked_create (p sem, i flags)
v _fmutex_checked_open (p sem)
v _fmutex_checked_release (p sem)
v _fmutex_checked_request (p sem, i flags)
i _fmutex_create (p sem, i flags)
i _fmutex_open (p sem)
i _fmutex_close (p sem)
v _fmutex_dummy (p sem)
i _rmutex_checked_close (p sem)
i _rmutex_checked_create (p sem, i flags)
i _rmutex_checked_open (p sem)
i _rmutex_close (p sem)
i _rmutex_create (p sem, i flags)
i _rmutex_dummy (p sem)
i _rmutex_open (p sem)

T INT
i __fmutex_request_internal (p sem, i flags, i fs)
i __fmutex_release_internal (p sem)
v __smutex_request_internal (p sem)

G GCC
T API
p set_new_handler (p handler)
p set_terminate__FPFv_v (p func)
p set_unexpected__FPFv_v (p func)
v terminate__Fv ()
v uncaught_exception__Fv ()     ; uncaught_exception()
v unexpected__Fv ()             ; unexpected()
v what__C9bad_alloc ()          ; TODO bad_alloc::what() const
v what__C9exception ()          ; TODO exception::what() const
v _$_13bad_exception()          ; TODO bad_exception::~bad_exception()
v _$_9exception()               ; TODO exception::~exception()
v __13bad_exception()           ; TODO bad_exception::bad_exception()
v __nw__FUlPv ()                ; TODO operator new(...)
v __nw__FUlRC9nothrow_t ()      ; TODO operator new(...)
v __tf9bad_alloc()              ; TODO bad_alloc type info function
v __tf13bad_exception()         ; TODO bad_exception type info function
v __tf9exception()              ; TODO exception type info function
v __vn__FUlPv ()                ; TODO operator new[](...)
v __vn__FUlRC9nothrow_t ()      ; TODO operator new[](...)
v __9exception()                ; TODO exception::exception()

T INT
i __cmpdi2 (q x, q y)
p __cp_exception_info ()
v __cp_pop_exception (p cp_eh_info)
v __cp_push_exception (p value, p type, p cleanup)
i __divsi3 (i x, i y)
i __fixdfsi (q x)
i __fixunsdfsi (q x)
i __ucmpdi2 (q x, q y)
i __udivsi3 (i x, i y)
p __builtin_new (i size)
p __builtin_vec_new (i size)
p __find_first_exception_table_match (p pc)
p __throw_type_match (p catch_type, p throw_type, p obj)
q __divdi3 (q x, q y)
q __fixunsdfdi (q x)
q __fixunssfdi (i x)
q __fixunsxfdi ()               ; TODO
q __moddi3 (q x, q y)
q __muldi3 (q x, q y)
q __udivdi3 (q x, q y)
q __umoddi3 (q x, q y)
v __bb_init_func (p blocks)
v __builtin_delete (p ptr)
v __builtin_vec_delete (p ptr)
v __probe (i n)
v __pure_virtual ()
v __register_exceptions (p table)
v __throw ()
v __uncatch_exception ()
v __unwind_function (p ptr)

G ENV
T API
p getenv (s name)
i putenv (s string)
i _path (p dst, s fname)
v _searchenv (s name, s var, p path)

G RTTI
T INT
v before__C9type_infoRC9type_info ()     ; TODO type_info::before
v name__C9type_info ()                   ; TODO type_info::name
p __dynamic_cast (p from, p to, i require_public, p address, p sub, p subptr)
v __eq__C9type_infoRC9type_info ()       ; TODO type_info::operator==
i __is_pointer__FPv (p p)
v __ne__C9type_infoRC9type_info ()       ; TODO type_info::operator!=
v __rtti_array (p addr, s name)
v __rtti_attr (p addr, s name, i attrval, p ti)
v __rtti_class (p addr, s name, p bl, i bn)
v __rtti_func (p addr, s name)
v __rtti_ptmd (p addr, s name)
v __rtti_ptmf (p addr, s name)
v __rtti_ptr (p addr, s name, p ti)
v __rtti_si (p addr, s name, p ti)
v __rtti_user (p addr, s name)
v __throw_bad_cast ()
v __throw_bad_typeid ()
p __throw_type_match_rtti (p catch_type_r, p throw_type_r, p objptr)
p __tfb ()
p __tfc ()
p __tfd ()
p __tff ()
p __tfi ()
p __tfl ()
p __tfr ()
p __tfs ()
p __tfv ()
p __tfw ()
p __tfx ()
p __tfUc ()
p __tfUi ()
p __tfUl ()
p __tfUs ()
p __tfUx ()

G OTHER
T API
i abs (i x)
p bsearch (p key, p base, i num, i width, p compare)
v div (i num, i den)            ; TODO
v emx_revision (p name, i argc, p argv, p queuename, p retstr)
i ffs (i x)
i fpathconf (i handle, i name)
i getopt (i argc, p argv, p opt_str)
i getpagesize ()
i labs (i x)
v longjmp (p jmpbuf, i n)
i pathconf (s path, i name)
i ptrace (i request, i pid, i addr, i data)
v qsort (p base, i num, i width, p compare)
i rand ()
i setjmp (p jmpbuf)
v siglongjmp (p jmpbuf, i n)
i sigsetjmp (p jmpbuf, i savemask)
v srand (i seed)
v swab (p src, p dst, i size)
i sysconf (i name)
i ulimit (i request)
i uname (p name)
i _core (i handle)
v _envargs (p argcp, p argvp, s name)
p _errno ()
i _execname (p buffer, i size)
i _filesys (p drive, p name, i size)
p _getvol (i drive)
i _int86 (i int_num, p inp_regs, p out_regs)
v _lldiv (q num, q den)         ; TODO
p _memaccess (i first, i last, i flag)
i _portaccess (i first, i last)
v _profil (p buff, i bufsiz, i offset, i scale)
i _read_kbd (i echo, i wait, i sig)
v _response (p argcp, p argvp)
v _scrsize (p dst)
i _setsyserrno (i code)
p _splitargs (p string, p count)
i _swchar ()
i _syserrno ()
i _uflags (i mask, i new_flags)
v _uldiv (i num, i den)         ; TODO
v _ulldiv (q num, q den)        ; TODO

; Ignore the following exports (for emxtsf's -w1 option)
I daylight
I environ
I ldiv()                ; identical to div()
I nothrow
I optarg
I opterr
I optind
I optmode
I optopt
I optswchar
I sys_errlist
I sys_nerr
I timezone
I tzname
I _HUGE_VAL
I _LHUGE_VAL
I _ctype
I _emx_vcmp
I _emx_env
I _emx_rev
I _emx_vprt
I _files
I _fmode_bin
I _input()              ; TODO
I _lookahead
I _mb_cur_max
I _nfiles
I _nls_tolower_tab
I _nls_toupper_tab
I _nls_init_flag
I _org_environ
I _os2_bad
I _osminor
I _osmajor
I _osmode
I _output()             ; TODO
I _pipe_size
I _rmutex_fork()        ; TODO
I _streamv
I _tzset_flag
I _vt$9bad_alloc        ; bad_alloc virtual table
I _vt$13bad_exception   ; bad_exception virtual table
I _vt$9exception        ; exception virtual table
I _$_9bad_alloc         ; TODO bad_alloc::~bad_alloc()
I __dummy
I __eh_pc
I __new_handler

