GNUnet  0.10.x
Data Structures | Macros | Typedefs | Enumerations | Functions
plibc.h File Reference

PlibC header. More...

#include <stddef.h>
Include dependency graph for plibc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PLIBC_SEARCH_QELEM
 
struct  PLIBC_SEARCH_entry
 
struct  _PLIBC_SEARCH_ENTRY
 
struct  PLIBC_SEARCH_hsearch_data
 

Macros

#define SIGALRM   14
 
#define HAVE_PLIBC_FD   0
 
#define DIR_SEPARATOR   '/'
 
#define DIR_SEPARATOR_STR   "/"
 
#define PATH_SEPARATOR   ':'
 
#define PATH_SEPARATOR_STR   ":"
 
#define NEWLINE   "\n"
 
#define CREAT(p, m)   creat(p, m)
 
#define PLIBC_CTIME(c)   ctime(c)
 
#define CTIME_R(c, b)   ctime_r(c, b)
 
#define FOPEN(f, m)   fopen(f, m)
 
#define FCLOSE(f)   fclose(f)
 
#define FTRUNCATE(f, l)   ftruncate(f, l)
 
#define TRUNCATE(f, l)   truncate(f, l)
 
#define OPENDIR(d)   opendir(d)
 
#define CLOSEDIR(d)   closedir(d)
 
#define READDIR(d)   readdir(d)
 
#define OPEN   open
 
#define CHDIR(d)   chdir(d)
 
#define CLOSE(f)   close(f)
 
#define LSEEK(f, o, w)   lseek(f, o, w)
 
#define RMDIR(f)   rmdir(f)
 
#define ACCESS(p, m)   access(p, m)
 
#define CHMOD(f, p)   chmod(f, p)
 
#define FSTAT(h, b)   fstat(h, b)
 
#define PLIBC_KILL(p, s)   kill(p, s)
 
#define PIPE(h)   pipe(h)
 
#define REMOVE(p)   remove(p)
 
#define RENAME(o, n)   rename(o, n)
 
#define STAT(p, b)   stat(p, b)
 
#define STAT64(p, b)   stat64(p, b)
 
#define SYSCONF(n)   sysconf(n)
 
#define UNLINK(f)   unlink(f)
 
#define WRITE(f, b, n)   write(f, b, n)
 
#define READ(f, b, n)   read(f, b, n)
 
#define GN_FREAD(b, s, c, f)   fread(b, s, c, f)
 
#define GN_FWRITE(b, s, c, f)   fwrite(b, s, c, f)
 
#define SYMLINK(a, b)   symlink(a, b)
 
#define MMAP(s, l, p, f, d, o)   mmap(s, l, p, f, d, o)
 
#define MKFIFO(p, m)   mkfifo(p, m)
 
#define MSYNC(s, l, f)   msync(s, l, f)
 
#define MUNMAP(s, l)   munmap(s, l)
 
#define STRERROR(i)   strerror(i)
 
#define RANDOM()   random()
 
#define SRANDOM(s)   srandom(s)
 
#define READLINK(p, b, s)   readlink(p, b, s)
 
#define LSTAT(p, b)   lstat(p, b)
 
#define LSTAT64(p, b)   lstat64(p, b)
 
#define PRINTF   printf
 
#define FPRINTF   fprintf
 
#define VPRINTF(f, a)   vprintf(f, a)
 
#define VFPRINTF(s, f, a)   vfprintf(s, f, a)
 
#define VSPRINTF(d, f, a)   vsprintf(d, f, a)
 
#define VSNPRINTF(str, size, fmt, a)   vsnprintf(str, size, fmt, a)
 
#define _REAL_SNPRINTF   snprintf
 
#define SPRINTF   sprintf
 
#define VSSCANF(s, f, a)   vsscanf(s, f, a)
 
#define SSCANF   sscanf
 
#define VFSCANF(s, f, a)   vfscanf(s, f, a)
 
#define VSCANF(f, a)   vscanf(f, a)
 
#define SCANF   scanf
 
#define FSCANF   fscanf
 
#define WAITPID(p, s, o)   waitpid(p, s, o)
 
#define ACCEPT(s, a, l)   accept(s, a, l)
 
#define BIND(s, n, l)   bind(s, n, l)
 
#define CONNECT(s, n, l)   connect(s, n, l)
 
#define GETPEERNAME(s, n, l)   getpeername(s, n, l)
 
#define GETSOCKNAME(s, n, l)   getsockname(s, n, l)
 
#define GETSOCKOPT(s, l, o, v, p)   getsockopt(s, l, o, v, p)
 
#define LISTEN(s, b)   listen(s, b)
 
#define RECV(s, b, l, f)   recv(s, b, l, f)
 
#define RECVFROM(s, b, l, f, r, o)   recvfrom(s, b, l, f, r, o)
 
#define SELECT(n, r, w, e, t)   select(n, r, w, e, t)
 
#define SEND(s, b, l, f)   send(s, b, l, f)
 
#define SENDTO(s, b, l, f, o, n)   sendto(s, b, l, f, o, n)
 
#define SETSOCKOPT(s, l, o, v, n)   setsockopt(s, l, o, v, n)
 
#define SHUTDOWN(s, h)   shutdown(s, h)
 
#define SOCKET(a, t, p)   socket(a, t, p)
 
#define SOCKETPAIR(a, t, p, v)   socketpair(a, t, p, v)
 
#define GETHOSTBYADDR(a, l, t)   gethostbyaddr(a, l, t)
 
#define GETHOSTBYNAME(n)   gethostbyname(n)
 
#define GETTIMEOFDAY(t, n)   gettimeofday(t, n)
 
#define INSQUE(e, p)   insque(e, p)
 
#define REMQUE(e)   remque(e)
 
#define HSEARCH(i, a)   hsearch(i, a)
 
#define HCREATE(n)   hcreate(n)
 
#define HDESTROY()   hdestroy()
 
#define HSEARCH_R(i, a, r, h)   hsearch_r(i, a, r, h)
 
#define HCREATE_R(n, h)   hcreate_r(n, h)
 
#define HDESTROY_R(h)   hdestroy_r(h)
 
#define TSEARCH(k, r, c)   tsearch(k, r, c)
 
#define TFIND(k, r, c)   tfind(k, r, c)
 
#define TDELETE(k, r, c)   tdelete(k, r, c)
 
#define TWALK(r, a)   twalk(r, a)
 
#define TDESTROY(r, f)   tdestroy(r, f)
 
#define LFIND(k, b, n, s, c)   lfind(k, b, n, s, c)
 
#define LSEARCH(k, b, n, s, c)   lsearch(k, b, n, s, c)
 
#define STRUCT_STAT64   struct stat64
 

Typedefs

typedef int(* PLIBC_SEARCH__compar_fn_t) (__const void *, __const void *)
 
typedef PLIBC_SEARCH__compar_fn_t _win_comparison_fn_t
 
typedef struct PLIBC_SEARCH_entry PLIBC_SEARCH_ENTRY
 
typedef struct _PLIBC_SEARCH_ENTRY _PLIBC_SEARCH_ENTRY
 
typedef void(* PLIBC_SEARCH__action_fn_t) (__const void *__nodep, PLIBC_SEARCH_VISIT __value, int __level)
 
typedef void(* PLIBC_SEARCH__free_fn_t) (void *__nodep)
 

Enumerations

enum  PLIBC_SEARCH_ACTION { PLIBC_SEARCH_FIND, PLIBC_SEARCH_ENTER }
 
enum  PLIBC_SEARCH_VISIT { PLIBC_SEARCH_preorder, PLIBC_SEARCH_postorder, PLIBC_SEARCH_endorder, PLIBC_SEARCH_leaf }
 

Functions

void _win_insque (void *__elem, void *__prev)
 
void _win_remque (void *__elem)
 
PLIBC_SEARCH_ENTRY_win_hsearch (PLIBC_SEARCH_ENTRY __item, PLIBC_SEARCH_ACTION __action)
 
int _win_hcreate (size_t __nel)
 
void _win_hdestroy (void)
 
int _win_hsearch_r (PLIBC_SEARCH_ENTRY __item, PLIBC_SEARCH_ACTION __action, PLIBC_SEARCH_ENTRY **__retval, struct PLIBC_SEARCH_hsearch_data *__htab)
 
int _win_hcreate_r (size_t __nel, struct PLIBC_SEARCH_hsearch_data *__htab)
 
void _win_hdestroy_r (struct PLIBC_SEARCH_hsearch_data *__htab)
 
void * _win_tsearch (__const void *__key, void **__rootp, PLIBC_SEARCH__compar_fn_t __compar)
 
void * _win_tfind (__const void *__key, void *__const *__rootp, PLIBC_SEARCH__compar_fn_t __compar)
 
void * _win_tdelete (__const void *__restrict __key, void **__restrict __rootp, PLIBC_SEARCH__compar_fn_t __compar)
 
void _win_twalk (__const void *__root, PLIBC_SEARCH__action_fn_t __action)
 
void _win_tdestroy (void *__root, PLIBC_SEARCH__free_fn_t __freefct)
 
void * _win_lfind (__const void *__key, __const void *__base, size_t *__nmemb, size_t __size, PLIBC_SEARCH__compar_fn_t __compar)
 
void * _win_lsearch (__const void *__key, void *__base, size_t *__nmemb, size_t __size, PLIBC_SEARCH__compar_fn_t __compar)
 

Detailed Description

PlibC header.

Attention
This file is usually not installed under Unix, so ship it with your application
Version
Revision
158

Definition in file plibc.h.

Macro Definition Documentation

◆ SIGALRM

#define SIGALRM   14

Definition at line 34 of file plibc.h.

◆ HAVE_PLIBC_FD

#define HAVE_PLIBC_FD   0

Definition at line 47 of file plibc.h.

◆ DIR_SEPARATOR

#define DIR_SEPARATOR   '/'

◆ DIR_SEPARATOR_STR

#define DIR_SEPARATOR_STR   "/"

◆ PATH_SEPARATOR

#define PATH_SEPARATOR   ':'

Definition at line 633 of file plibc.h.

Referenced by get_path_from_PATH().

◆ PATH_SEPARATOR_STR

#define PATH_SEPARATOR_STR   ":"

Definition at line 634 of file plibc.h.

◆ NEWLINE

#define NEWLINE   "\n"

Definition at line 635 of file plibc.h.

◆ CREAT

#define CREAT (   p,
  m 
)    creat(p, m)

Definition at line 640 of file plibc.h.

◆ PLIBC_CTIME

#define PLIBC_CTIME (   c)    ctime(c)

Definition at line 641 of file plibc.h.

◆ CTIME_R

#define CTIME_R (   c,
 
)    ctime_r(c, b)

Definition at line 642 of file plibc.h.

◆ FOPEN

#define FOPEN (   f,
  m 
)    fopen(f, m)

Definition at line 644 of file plibc.h.

Referenced by access_handler_callback(), GNUNET_OS_init(), and write_pid_file().

◆ FCLOSE

#define FCLOSE (   f)    fclose(f)

Definition at line 645 of file plibc.h.

Referenced by access_handler_callback(), GNUNET_OS_init(), and write_pid_file().

◆ FTRUNCATE

#define FTRUNCATE (   f,
  l 
)    ftruncate(f, l)

Definition at line 646 of file plibc.h.

◆ TRUNCATE

#define TRUNCATE (   f,
  l 
)    truncate(f, l)

◆ OPENDIR

#define OPENDIR (   d)    opendir(d)

Definition at line 648 of file plibc.h.

Referenced by GNUNET_DISK_directory_scan().

◆ CLOSEDIR

#define CLOSEDIR (   d)    closedir(d)

Definition at line 649 of file plibc.h.

Referenced by GNUNET_DISK_directory_scan().

◆ READDIR

#define READDIR (   d)    readdir(d)

Definition at line 650 of file plibc.h.

Referenced by GNUNET_DISK_directory_scan().

◆ OPEN

#define OPEN   open

◆ CHDIR

#define CHDIR (   d)    chdir(d)

Definition at line 652 of file plibc.h.

◆ CLOSE

#define CLOSE (   f)    close(f)

◆ LSEEK

#define LSEEK (   f,
  o,
 
)    lseek(f, o, w)

Definition at line 654 of file plibc.h.

◆ RMDIR

#define RMDIR (   f)    rmdir(f)

Definition at line 655 of file plibc.h.

Referenced by GNUNET_DISK_directory_remove().

◆ ACCESS

#define ACCESS (   p,
  m 
)    access(p, m)

◆ CHMOD

#define CHMOD (   f,
  p 
)    chmod(f, p)

Definition at line 657 of file plibc.h.

Referenced by GNUNET_DISK_directory_remove(), main(), and removecerts().

◆ FSTAT

#define FSTAT (   h,
 
)    fstat(h, b)

Definition at line 658 of file plibc.h.

Referenced by GNUNET_DISK_file_handle_size().

◆ PLIBC_KILL

#define PLIBC_KILL (   p,
 
)    kill(p, s)

Definition at line 659 of file plibc.h.

Referenced by child_death_task(), and GNUNET_OS_process_kill().

◆ PIPE

#define PIPE (   h)    pipe(h)

Definition at line 660 of file plibc.h.

Referenced by detach_terminal().

◆ REMOVE

#define REMOVE (   p)    remove(p)

Definition at line 661 of file plibc.h.

Referenced by removecerts().

◆ RENAME

#define RENAME (   o,
 
)    rename(o, n)

Definition at line 662 of file plibc.h.

Referenced by handle_rename_message().

◆ STAT

#define STAT (   p,
 
)    stat(p, b)

◆ STAT64

#define STAT64 (   p,
 
)    stat64(p, b)

Definition at line 664 of file plibc.h.

Referenced by getSizeRec().

◆ SYSCONF

#define SYSCONF (   n)    sysconf(n)

Definition at line 665 of file plibc.h.

◆ UNLINK

#define UNLINK (   f)    unlink(f)

◆ WRITE

#define WRITE (   f,
  b,
 
)    write(f, b, n)

Definition at line 667 of file plibc.h.

Referenced by GNUNET_SERVICE_run_(), LEGACY_SERVICE_run(), service_main(), and service_task().

◆ READ

#define READ (   f,
  b,
 
)    read(f, b, n)

Definition at line 668 of file plibc.h.

Referenced by detach_terminal().

◆ GN_FREAD

#define GN_FREAD (   b,
  s,
  c,
 
)    fread(b, s, c, f)

Definition at line 669 of file plibc.h.

◆ GN_FWRITE

#define GN_FWRITE (   b,
  s,
  c,
 
)    fwrite(b, s, c, f)

Definition at line 670 of file plibc.h.

◆ SYMLINK

#define SYMLINK (   a,
 
)    symlink(a, b)

Definition at line 671 of file plibc.h.

◆ MMAP

#define MMAP (   s,
  l,
  p,
  f,
  d,
 
)    mmap(s, l, p, f, d, o)

Definition at line 672 of file plibc.h.

◆ MKFIFO

#define MKFIFO (   p,
  m 
)    mkfifo(p, m)

Definition at line 673 of file plibc.h.

◆ MSYNC

#define MSYNC (   s,
  l,
 
)    msync(s, l, f)

Definition at line 674 of file plibc.h.

◆ MUNMAP

#define MUNMAP (   s,
  l 
)    munmap(s, l)

Definition at line 675 of file plibc.h.

◆ STRERROR

#define STRERROR (   i)    strerror(i)

◆ RANDOM

#define RANDOM ( )    random()

Definition at line 677 of file plibc.h.

◆ SRANDOM

#define SRANDOM (   s)    srandom(s)

Definition at line 678 of file plibc.h.

◆ READLINK

#define READLINK (   p,
  b,
 
)    readlink(p, b, s)

Definition at line 679 of file plibc.h.

◆ LSTAT

#define LSTAT (   p,
 
)    lstat(p, b)

Definition at line 680 of file plibc.h.

Referenced by GNUNET_DISK_directory_remove().

◆ LSTAT64

#define LSTAT64 (   p,
 
)    lstat64(p, b)

Definition at line 681 of file plibc.h.

◆ PRINTF

#define PRINTF   printf

Definition at line 682 of file plibc.h.

Referenced by auto_conf_iter(), run(), and test_report_cb().

◆ FPRINTF

#define FPRINTF   fprintf

Definition at line 683 of file plibc.h.

Referenced by __attribute__(), access_handler_callback(), allocation_cb(), ats_perf_mon_cb(), blacklist_cb(), calculate_pow(), call_event_handler(), caller_event_handler(), clean_task(), cleanup(), cleanup_task(), continuation_print(), del_monitor(), directory_scan_cb(), directory_trim_complete(), discover_testbed_nodes(), display_record(), display_records_from_block(), do_accept(), do_address(), do_call(), do_get(), do_help(), do_reject(), do_resume(), do_send(), do_status(), do_suspend(), do_unknown(), dump_my_hello(), ego_callback(), end(), file_in_send(), find_proof(), get_callback(), get_cb(), get_resp_callback(), get_result_iterator(), GN_getopt_internal(), GNUNET_GETOPT_run(), handle_dummy(), handle_estimate(), handle_reverse_lookup(), identity_cb(), identity_continuation(), init_callback(), iter_check_config(), iteration_start(), keyword_printer(), link_processor(), list_callback(), lookup_error_cb(), main(), main_task(), meta_printer(), monitor_cb(), monitor_error_cb(), monitor_notify_connect(), monitor_notify_disconnect(), notify_connect(), notify_disconnect(), operation_timeout(), output_message(), path_callback(), peers_callback(), phone_event_handler(), plugin_init(), print_hostname(), print_indexed(), print_info(), print_my_uri(), print_peer_info(), print_query_result(), print_quotas(), print_revocation_result(), print_sockaddr(), printer(), printer_watch(), process_peer_monitoring_cb(), process_peer_string(), progress_cb(), publish_inspector(), put_callback(), put_cb(), reply_handle(), reverse_error_cb(), run(), send_msg(), set_absolute_time(), set_json(), set_relative_time(), set_uint(), set_uint16(), set_ulong(), setup_db(), show_end_data(), shutdown_task(), srv_status(), start_callback(), start_dump(), start_insert(), start_phone(), stdin_send(), stop_callback(), stream_input_handle(), sync_cb(), term_callback(), transport_addr_to_str_cb(), tunnels_callback(), update_meter(), uri_ksk_continuation(), uri_sks_continuation(), view_update_handle(), and write_pid_file().

◆ VPRINTF

#define VPRINTF (   f,
 
)    vprintf(f, a)

Definition at line 684 of file plibc.h.

◆ VFPRINTF

#define VFPRINTF (   s,
  f,
 
)    vfprintf(s, f, a)

Definition at line 685 of file plibc.h.

◆ VSPRINTF

#define VSPRINTF (   d,
  f,
 
)    vsprintf(d, f, a)

Definition at line 686 of file plibc.h.

Referenced by GNUNET_asprintf().

◆ VSNPRINTF

#define VSNPRINTF (   str,
  size,
  fmt,
 
)    vsnprintf(str, size, fmt, a)

Definition at line 687 of file plibc.h.

Referenced by GNUNET_asprintf(), GNUNET_snprintf(), and mylog().

◆ _REAL_SNPRINTF

#define _REAL_SNPRINTF   snprintf

Definition at line 688 of file plibc.h.

◆ SPRINTF

#define SPRINTF   sprintf

Definition at line 689 of file plibc.h.

Referenced by auto_config_cb(), and collector().

◆ VSSCANF

#define VSSCANF (   s,
  f,
 
)    vsscanf(s, f, a)

Definition at line 690 of file plibc.h.

◆ SSCANF

#define SSCANF   sscanf

◆ VFSCANF

#define VFSCANF (   s,
  f,
 
)    vfscanf(s, f, a)

Definition at line 692 of file plibc.h.

◆ VSCANF

#define VSCANF (   f,
 
)    vscanf(f, a)

Definition at line 693 of file plibc.h.

◆ SCANF

#define SCANF   scanf

Definition at line 694 of file plibc.h.

◆ FSCANF

#define FSCANF   fscanf

Definition at line 695 of file plibc.h.

◆ WAITPID

#define WAITPID (   p,
  s,
 
)    waitpid(p, s, o)

Definition at line 696 of file plibc.h.

◆ ACCEPT

#define ACCEPT (   s,
  a,
  l 
)    accept(s, a, l)

Definition at line 697 of file plibc.h.

◆ BIND

#define BIND (   s,
  n,
  l 
)    bind(s, n, l)

Definition at line 698 of file plibc.h.

◆ CONNECT

#define CONNECT (   s,
  n,
  l 
)    connect(s, n, l)

Definition at line 699 of file plibc.h.

◆ GETPEERNAME

#define GETPEERNAME (   s,
  n,
  l 
)    getpeername(s, n, l)

Definition at line 700 of file plibc.h.

◆ GETSOCKNAME

#define GETSOCKNAME (   s,
  n,
  l 
)    getsockname(s, n, l)

Definition at line 701 of file plibc.h.

◆ GETSOCKOPT

#define GETSOCKOPT (   s,
  l,
  o,
  v,
  p 
)    getsockopt(s, l, o, v, p)

Definition at line 702 of file plibc.h.

◆ LISTEN

#define LISTEN (   s,
 
)    listen(s, b)

Definition at line 703 of file plibc.h.

◆ RECV

#define RECV (   s,
  b,
  l,
 
)    recv(s, b, l, f)

Definition at line 704 of file plibc.h.

◆ RECVFROM

#define RECVFROM (   s,
  b,
  l,
  f,
  r,
 
)    recvfrom(s, b, l, f, r, o)

Definition at line 705 of file plibc.h.

◆ SELECT

#define SELECT (   n,
  r,
  w,
  e,
  t 
)    select(n, r, w, e, t)

Definition at line 706 of file plibc.h.

◆ SEND

#define SEND (   s,
  b,
  l,
 
)    send(s, b, l, f)

Definition at line 707 of file plibc.h.

◆ SENDTO

#define SENDTO (   s,
  b,
  l,
  f,
  o,
 
)    sendto(s, b, l, f, o, n)

Definition at line 708 of file plibc.h.

◆ SETSOCKOPT

#define SETSOCKOPT (   s,
  l,
  o,
  v,
 
)    setsockopt(s, l, o, v, n)

Definition at line 709 of file plibc.h.

◆ SHUTDOWN

#define SHUTDOWN (   s,
  h 
)    shutdown(s, h)

Definition at line 710 of file plibc.h.

◆ SOCKET

#define SOCKET (   a,
  t,
  p 
)    socket(a, t, p)

◆ SOCKETPAIR

#define SOCKETPAIR (   a,
  t,
  p,
 
)    socketpair(a, t, p, v)

Definition at line 712 of file plibc.h.

◆ GETHOSTBYADDR

#define GETHOSTBYADDR (   a,
  l,
  t 
)    gethostbyaddr(a, l, t)

Definition at line 713 of file plibc.h.

◆ GETHOSTBYNAME

#define GETHOSTBYNAME (   n)    gethostbyname(n)

Definition at line 714 of file plibc.h.

◆ GETTIMEOFDAY

#define GETTIMEOFDAY (   t,
 
)    gettimeofday(t, n)

Definition at line 715 of file plibc.h.

Referenced by GNUNET_TIME_absolute_get().

◆ INSQUE

#define INSQUE (   e,
  p 
)    insque(e, p)

Definition at line 716 of file plibc.h.

◆ REMQUE

#define REMQUE (   e)    remque(e)

Definition at line 717 of file plibc.h.

◆ HSEARCH

#define HSEARCH (   i,
 
)    hsearch(i, a)

Definition at line 718 of file plibc.h.

◆ HCREATE

#define HCREATE (   n)    hcreate(n)

Definition at line 719 of file plibc.h.

◆ HDESTROY

#define HDESTROY ( )    hdestroy()

Definition at line 720 of file plibc.h.

◆ HSEARCH_R

#define HSEARCH_R (   i,
  a,
  r,
  h 
)    hsearch_r(i, a, r, h)

Definition at line 721 of file plibc.h.

◆ HCREATE_R

#define HCREATE_R (   n,
  h 
)    hcreate_r(n, h)

Definition at line 722 of file plibc.h.

◆ HDESTROY_R

#define HDESTROY_R (   h)    hdestroy_r(h)

Definition at line 723 of file plibc.h.

◆ TSEARCH

#define TSEARCH (   k,
  r,
 
)    tsearch(k, r, c)

Definition at line 724 of file plibc.h.

◆ TFIND

#define TFIND (   k,
  r,
 
)    tfind(k, r, c)

Definition at line 725 of file plibc.h.

◆ TDELETE

#define TDELETE (   k,
  r,
 
)    tdelete(k, r, c)

Definition at line 726 of file plibc.h.

◆ TWALK

#define TWALK (   r,
 
)    twalk(r, a)

Definition at line 727 of file plibc.h.

◆ TDESTROY

#define TDESTROY (   r,
 
)    tdestroy(r, f)

Definition at line 728 of file plibc.h.

◆ LFIND

#define LFIND (   k,
  b,
  n,
  s,
 
)    lfind(k, b, n, s, c)

Definition at line 729 of file plibc.h.

◆ LSEARCH

#define LSEARCH (   k,
  b,
  n,
  s,
 
)    lsearch(k, b, n, s, c)

Definition at line 730 of file plibc.h.

◆ STRUCT_STAT64

#define STRUCT_STAT64   struct stat64

Definition at line 731 of file plibc.h.

Referenced by getSizeRec().

Typedef Documentation

◆ PLIBC_SEARCH__compar_fn_t

typedef int(* PLIBC_SEARCH__compar_fn_t) (__const void *, __const void *)

Definition at line 856 of file plibc.h.

◆ _win_comparison_fn_t

Definition at line 858 of file plibc.h.

◆ PLIBC_SEARCH_ENTRY

◆ _PLIBC_SEARCH_ENTRY

◆ PLIBC_SEARCH__action_fn_t

typedef void(* PLIBC_SEARCH__action_fn_t) (__const void *__nodep, PLIBC_SEARCH_VISIT __value, int __level)

Definition at line 947 of file plibc.h.

◆ PLIBC_SEARCH__free_fn_t

typedef void(* PLIBC_SEARCH__free_fn_t) (void *__nodep)

Definition at line 956 of file plibc.h.

Enumeration Type Documentation

◆ PLIBC_SEARCH_ACTION

Enumerator
PLIBC_SEARCH_FIND 
PLIBC_SEARCH_ENTER 

Definition at line 861 of file plibc.h.

◆ PLIBC_SEARCH_VISIT

Enumerator
PLIBC_SEARCH_preorder 
PLIBC_SEARCH_postorder 
PLIBC_SEARCH_endorder 
PLIBC_SEARCH_leaf 

Definition at line 923 of file plibc.h.

Function Documentation

◆ _win_insque()

void _win_insque ( void *  __elem,
void *  __prev 
)

◆ _win_remque()

void _win_remque ( void *  __elem)

◆ _win_hsearch()

PLIBC_SEARCH_ENTRY* _win_hsearch ( PLIBC_SEARCH_ENTRY  __item,
PLIBC_SEARCH_ACTION  __action 
)

◆ _win_hcreate()

int _win_hcreate ( size_t  __nel)

◆ _win_hdestroy()

void _win_hdestroy ( void  )

◆ _win_hsearch_r()

int _win_hsearch_r ( PLIBC_SEARCH_ENTRY  __item,
PLIBC_SEARCH_ACTION  __action,
PLIBC_SEARCH_ENTRY **  __retval,
struct PLIBC_SEARCH_hsearch_data __htab 
)

◆ _win_hcreate_r()

int _win_hcreate_r ( size_t  __nel,
struct PLIBC_SEARCH_hsearch_data __htab 
)

◆ _win_hdestroy_r()

void _win_hdestroy_r ( struct PLIBC_SEARCH_hsearch_data __htab)

◆ _win_tsearch()

void* _win_tsearch ( __const void *  __key,
void **  __rootp,
PLIBC_SEARCH__compar_fn_t  __compar 
)

◆ _win_tfind()

void* _win_tfind ( __const void *  __key,
void *__const *  __rootp,
PLIBC_SEARCH__compar_fn_t  __compar 
)

◆ _win_tdelete()

void* _win_tdelete ( __const void *__restrict  __key,
void **__restrict  __rootp,
PLIBC_SEARCH__compar_fn_t  __compar 
)

◆ _win_twalk()

void _win_twalk ( __const void *  __root,
PLIBC_SEARCH__action_fn_t  __action 
)

◆ _win_tdestroy()

void _win_tdestroy ( void *  __root,
PLIBC_SEARCH__free_fn_t  __freefct 
)

◆ _win_lfind()

void* _win_lfind ( __const void *  __key,
__const void *  __base,
size_t *  __nmemb,
size_t  __size,
PLIBC_SEARCH__compar_fn_t  __compar 
)

◆ _win_lsearch()

void* _win_lsearch ( __const void *  __key,
void *  __base,
size_t *  __nmemb,
size_t  __size,
PLIBC_SEARCH__compar_fn_t  __compar 
)