Back to index

glibc  2.9
Defines | Functions
sysconf.c File Reference
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <unistd.h>
#include "has_cpuclock.c"
#include "../sysconf.c"

Go to the source code of this file.


#define __sysconf   static linux_sysconf


static long int linux_sysconf (int name)
long int __sysconf (int name)

Define Documentation

#define __sysconf   static linux_sysconf

Definition at line 44 of file sysconf.c.

Function Documentation

long int __sysconf ( int  name)

Definition at line 33 of file sysconf.c.

  if (name == _SC_CPUTIME || name == _SC_THREAD_CPUTIME)
    return has_cpuclock () ? 200112L : -1;

  /* Everything else is handled by the more general code.  */
  return linux_sysconf (name);

Here is the call graph for this function:

static long int linux_sysconf ( int  name) [static]

Here is the caller graph for this function: