Back to index

glibc  2.9
Classes | Defines | Functions | Variables
mk-local_lim.c File Reference
#include <stdio.h>
#include <sys/types.h>

Go to the source code of this file.

Classes

struct  param

Defines

#define NAME_MAX   255 /* XXX ? */

Functions

int main ()

Variables

static struct param []

Class Documentation

struct param

Definition at line 37 of file mk-local_lim.c.

Class Members
char * name
int value

Define Documentation

#define NAME_MAX   255 /* XXX ? */

Function Documentation

int main ( void  )

Definition at line 107 of file mk-local_lim.c.

{
  extern char *ctime ();
  extern time_t time ();
  time_t now = time ((time_t *) NULL);
  register struct param *p;

  if (! params[0].name)
    /* We have no information to give, so let the caller know.  */
    exit (1);

  printf ("\
/* Implementation-specific limits.\n\
   Generated at %.24s.  */\n\n", ctime (&now));

  for (p = params; p->name != NULL; ++p)
    printf ("#define %s %d\n", p->name, p->value);

  exit (0);
}

Here is the call graph for this function:


Variable Documentation

struct param[] [static]

Definition at line 43 of file mk-local_lim.c.