Skip to content
Snippets Groups Projects
Commit c6bd6860 authored by Marc G. Fournier's avatar Marc G. Fournier
Browse files

More cleanups...only need one rusagestub.h

parent 5acf432d
No related branches found
No related tags found
No related merge requests found
/* $Id: gethostname.c,v 1.2 1997/12/19 13:34:26 scrappy Exp $ */
#include <sys/types.h>
#include <string.h>
......
/* $Id: getrusage.c,v 1.3 1997/12/19 13:34:27 scrappy Exp $ */
#include <math.h> /* for pow() prototype */
#include <errno.h>
......
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* rusagestub.h,v 1.1.1.1 1994/11/07 05:19:39 andrew Exp
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rusagestub.h,v 1.3 1997/09/08 02:26:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */
/*
/* $Id: inet_aton.c,v 1.11 1997/12/19 13:34:28 scrappy Exp $
*
* This inet_aton() function was taken from the GNU C library and
* incorporated into Postgres for those systems which do not have this
......
int
inet_aton(const char *cp, struct in_addr * addr);
/* $Id: inet_aton.h,v 1.6 1997/12/19 13:34:29 scrappy Exp $ */
int inet_aton(const char *cp, struct in_addr * addr);
/* $Id: random.c,v 1.2 1997/12/19 13:34:29 scrappy Exp $ */
#include <math.h> /* for pow() prototype */
#include <errno.h>
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* rusagestub.h,v 1.1.1.1 1994/11/07 05:19:39 andrew Exp
* $Id: rusagestub.h,v 1.2 1997/12/19 13:34:30 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
......
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rusagestub.h,v 1.3 1997/09/08 02:27:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */
/* $Id: srandom.c,v 1.3 1997/12/19 13:34:31 scrappy Exp $ */
#include <math.h> /* for pow() prototype */
#include <errno.h>
......
/* $Id: strcasecmp.c,v 1.2 1997/12/19 13:34:32 scrappy Exp $ */
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.
......
/* $Id: strerror.c,v 1.4 1997/12/19 13:34:32 scrappy Exp $ */
/*
* strerror - map error number to descriptive string
*
......
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* rusagestub.h,v 1.1.1.1 1994/11/07 05:19:39 andrew Exp
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */
/*-------------------------------------------------------------------------
*
* rusagestub.h--
* Stubs for getrusage(3).
*
*
* Copyright (c) 1994, Regents of the University of California
*
* rusagestub.h,v 1.1.1.1 1994/11/07 05:19:39 andrew Exp
*
*-------------------------------------------------------------------------
*/
#ifndef RUSAGESTUB_H
#define RUSAGESTUB_H
#include <sys/time.h> /* for struct timeval */
#include <sys/times.h> /* for struct tms */
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment