Back to index

glibc  2.9
Defines
dl-dst.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DL_DST_COUNT(name, is_path)
#define DL_DST_REQUIRED(l, name, len, cnt)
#define DL_DST_REQ_STATIC(l)

Define Documentation

#define DL_DST_COUNT (   name,
  is_path 
)
Value:
({                                                                   \
    size_t __cnt = 0;                                                       \
    const char *__sf = strchr (name, '$');                                  \
                                                                     \
    if (__builtin_expect (__sf != NULL, 0))                                 \
      __cnt = _dl_dst_count (__sf, is_path);                         \
                                                                     \
    __cnt; })

Definition at line 23 of file dl-dst.h.

#define DL_DST_REQ_STATIC (   l)
Value:
if ((l) == NULL)                                                     \
    {                                                                \
      const char *origin = _dl_get_origin ();                               \
      origin_len = (origin && origin != (char *) -1 ? strlen (origin) : 0);   \
    }                                                                \
  else

Definition at line 64 of file dl-dst.h.

#define DL_DST_REQUIRED (   l,
  name,
  len,
  cnt 
)

Definition at line 35 of file dl-dst.h.