Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c6bd6860
Commit
c6bd6860
authored
Dec 19, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cleanups...only need one rusagestub.h
parent
5acf432d
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
17 additions
and
159 deletions
+17
-159
src/backend/port/gethostname.c
src/backend/port/gethostname.c
+2
-0
src/backend/port/getrusage.c
src/backend/port/getrusage.c
+2
-0
src/backend/port/hpux/rusagestub.h
src/backend/port/hpux/rusagestub.h
+0
-31
src/backend/port/i386_solaris/rusagestub.h
src/backend/port/i386_solaris/rusagestub.h
+0
-31
src/backend/port/inet_aton.c
src/backend/port/inet_aton.c
+1
-1
src/backend/port/inet_aton.h
src/backend/port/inet_aton.h
+3
-2
src/backend/port/random.c
src/backend/port/random.c
+2
-0
src/backend/port/rusagestub.h
src/backend/port/rusagestub.h
+1
-1
src/backend/port/sparc_solaris/rusagestub.h
src/backend/port/sparc_solaris/rusagestub.h
+0
-31
src/backend/port/srandom.c
src/backend/port/srandom.c
+2
-0
src/backend/port/strcasecmp.c
src/backend/port/strcasecmp.c
+2
-0
src/backend/port/strerror.c
src/backend/port/strerror.c
+2
-0
src/backend/port/svr4/rusagestub.h
src/backend/port/svr4/rusagestub.h
+0
-31
src/backend/port/univel/rusagestub.h
src/backend/port/univel/rusagestub.h
+0
-31
No files found.
src/backend/port/gethostname.c
View file @
c6bd6860
/* $Id: gethostname.c,v 1.2 1997/12/19 13:34:26 scrappy Exp $ */
#include <sys/types.h>
#include <string.h>
...
...
src/backend/port/getrusage.c
View file @
c6bd6860
/* $Id: getrusage.c,v 1.3 1997/12/19 13:34:27 scrappy Exp $ */
#include <math.h>
/* for pow() prototype */
#include <errno.h>
...
...
src/backend/port/hpux/rusagestub.h
deleted
100644 → 0
View file @
5acf432d
/*-------------------------------------------------------------------------
*
* 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 */
src/backend/port/i386_solaris/rusagestub.h
deleted
100644 → 0
View file @
5acf432d
/*-------------------------------------------------------------------------
*
* 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 */
src/backend/port/inet_aton.c
View file @
c6bd6860
/*
/*
$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
...
...
src/backend/port/inet_aton.h
View file @
c6bd6860
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
);
src/backend/port/random.c
View file @
c6bd6860
/* $Id: random.c,v 1.2 1997/12/19 13:34:29 scrappy Exp $ */
#include <math.h>
/* for pow() prototype */
#include <errno.h>
...
...
src/backend/port/rusagestub.h
View file @
c6bd6860
...
...
@@ -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 $
*
*-------------------------------------------------------------------------
*/
...
...
src/backend/port/sparc_solaris/rusagestub.h
deleted
100644 → 0
View file @
5acf432d
/*-------------------------------------------------------------------------
*
* 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 */
src/backend/port/srandom.c
View file @
c6bd6860
/* $Id: srandom.c,v 1.3 1997/12/19 13:34:31 scrappy Exp $ */
#include <math.h>
/* for pow() prototype */
#include <errno.h>
...
...
src/backend/port/strcasecmp.c
View file @
c6bd6860
/* $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.
...
...
src/backend/port/strerror.c
View file @
c6bd6860
/* $Id: strerror.c,v 1.4 1997/12/19 13:34:32 scrappy Exp $ */
/*
* strerror - map error number to descriptive string
*
...
...
src/backend/port/svr4/rusagestub.h
deleted
100644 → 0
View file @
5acf432d
/*-------------------------------------------------------------------------
*
* 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 */
src/backend/port/univel/rusagestub.h
deleted
100644 → 0
View file @
5acf432d
/*-------------------------------------------------------------------------
*
* 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 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment