Back to index

glibc  2.9
outdigits.h File Reference
#include <assert.h>
#include <langinfo.h>
#include <string.h>
#include "../locale/localeinfo.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


static char * outdigit_value (char *s, int n)

Function Documentation

static char* outdigit_value ( char *  s,
int  n 
) [inline, static]

Definition at line 31 of file outdigits.h.

  const char *outdigit;
  size_t dlen;

  assert (0 <= n && n <= 9);
  dlen = strlen (outdigit);

  s -= dlen;
  while (dlen-- > 0)
    s[dlen] = outdigit[dlen];

  return s;

Here is the call graph for this function:

Here is the caller graph for this function: