Back to index

glibc  2.9
Defines | Functions
argp-namefrob.h File Reference
#include "mempcpy.h"
#include "strcase.h"
#include "strchrnul.h"
#include "strndup.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __argp_parse   argp_parse
#define __option_is_end   _option_is_end
#define __option_is_short   _option_is_short
#define __argp_input   _argp_input
#define __argp_help   argp_help
#define __argp_error   argp_error
#define __argp_failure   argp_failure
#define __argp_state_help   argp_state_help
#define __argp_usage   argp_usage
#define __argp_make_fmtstream   argp_make_fmtstream
#define __argp_fmtstream_free   argp_fmtstream_free
#define __argp_fmtstream_putc   argp_fmtstream_putc
#define __argp_fmtstream_puts   argp_fmtstream_puts
#define __argp_fmtstream_write   argp_fmtstream_write
#define __argp_fmtstream_printf   argp_fmtstream_printf
#define __argp_fmtstream_set_lmargin   argp_fmtstream_set_lmargin
#define __argp_fmtstream_set_rmargin   argp_fmtstream_set_rmargin
#define __argp_fmtstream_set_wmargin   argp_fmtstream_set_wmargin
#define __argp_fmtstream_point   argp_fmtstream_point
#define __argp_fmtstream_update   _argp_fmtstream_update
#define __argp_fmtstream_ensure   _argp_fmtstream_ensure
#define __argp_fmtstream_lmargin   argp_fmtstream_lmargin
#define __argp_fmtstream_rmargin   argp_fmtstream_rmargin
#define __argp_fmtstream_wmargin   argp_fmtstream_wmargin
#define __flockfile   flockfile
#define __funlockfile   funlockfile
#define __mempcpy   mempcpy
#define __sleep   sleep
#define __strcasecmp   strcasecmp
#define __strchrnul   strchrnul
#define __strerror_r   strerror_r
#define __strndup   strndup
#define __vsnprintf   vsnprintf
#define __set_errno(e)   (errno = (e))

Functions

char * __argp_basename (char *name)
char * __argp_short_program_name (void)

Define Documentation

#define __argp_error   argp_error

Definition at line 40 of file argp-namefrob.h.

Definition at line 42 of file argp-namefrob.h.

Definition at line 72 of file argp-namefrob.h.

Definition at line 52 of file argp-namefrob.h.

Definition at line 74 of file argp-namefrob.h.

Definition at line 68 of file argp-namefrob.h.

Definition at line 60 of file argp-namefrob.h.

Definition at line 54 of file argp-namefrob.h.

Definition at line 56 of file argp-namefrob.h.

Definition at line 76 of file argp-namefrob.h.

Definition at line 62 of file argp-namefrob.h.

Definition at line 64 of file argp-namefrob.h.

Definition at line 66 of file argp-namefrob.h.

Definition at line 70 of file argp-namefrob.h.

Definition at line 78 of file argp-namefrob.h.

Definition at line 58 of file argp-namefrob.h.

#define __argp_help   argp_help

Definition at line 38 of file argp-namefrob.h.

#define __argp_input   _argp_input

Definition at line 34 of file argp-namefrob.h.

Definition at line 50 of file argp-namefrob.h.

#define __argp_parse   argp_parse

Definition at line 28 of file argp-namefrob.h.

Definition at line 44 of file argp-namefrob.h.

#define __argp_usage   argp_usage

Definition at line 46 of file argp-namefrob.h.

#define __flockfile   flockfile

Definition at line 87 of file argp-namefrob.h.

#define __funlockfile   funlockfile

Definition at line 89 of file argp-namefrob.h.

#define __mempcpy   mempcpy

Definition at line 91 of file argp-namefrob.h.

Definition at line 30 of file argp-namefrob.h.

Definition at line 32 of file argp-namefrob.h.

#define __set_errno (   e)    (errno = (e))

Definition at line 150 of file argp-namefrob.h.

#define __sleep   sleep

Definition at line 93 of file argp-namefrob.h.

#define __strcasecmp   strcasecmp

Definition at line 95 of file argp-namefrob.h.

#define __strchrnul   strchrnul

Definition at line 97 of file argp-namefrob.h.

#define __strerror_r   strerror_r

Definition at line 99 of file argp-namefrob.h.

#define __strndup   strndup

Definition at line 101 of file argp-namefrob.h.

#define __vsnprintf   vsnprintf

Definition at line 103 of file argp-namefrob.h.


Function Documentation

char* __argp_basename ( char *  name)

Definition at line 1699 of file argp-help.c.

{
  char *short_name = strrchr (name, '/');
  return short_name ? short_name + 1 : name;
}

Here is the call graph for this function:

Here is the caller graph for this function:

char* __argp_short_program_name ( void  )

Definition at line 1706 of file argp-help.c.

{
# if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
  return program_invocation_short_name;
# elif HAVE_DECL_PROGRAM_INVOCATION_NAME
  return __argp_basename (program_invocation_name);
# else
  /* FIXME: What now? Miles suggests that it is better to use NULL,
     but currently the value is passed on directly to fputs_unlocked,
     so that requires more changes. */
# if __GNUC__
#  warning No reasonable value to return
# endif /* __GNUC__ */
  return "";
# endif
}

Here is the call graph for this function:

Here is the caller graph for this function: