Update /port C header descriptions.
This commit is contained in:
parent
0a2c82b5f7
commit
018cf0f76e
@ -1,9 +1,19 @@
|
||||
/*
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* copydir.c
|
||||
* copies a directory
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* While "xcopy /e /i /q" works fine for copying directories, on Windows XP
|
||||
* it requires a Window handle which prevents it from working when invoked
|
||||
* as a service.
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/port/Attic/copydir.c,v 1.5 2003/09/10 20:12:01 tgl Exp $
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/Attic/copydir.c,v 1.6 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "postgres.h"
|
||||
|
@ -1,6 +1,18 @@
|
||||
/*
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* dirmod.c
|
||||
* rename/unlink()
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* These are replacement versions of unlink and rename that work on
|
||||
* Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/dirmod.c,v 1.7 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef TEST_VERSION
|
||||
|
@ -1,4 +1,16 @@
|
||||
/* $Id: gethostname.c,v 1.2 2002/09/02 02:47:07 momjian Exp $ */
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* gethostname.c
|
||||
* gethostname using uname
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/gethostname.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "c.h"
|
||||
|
||||
|
@ -1,4 +1,17 @@
|
||||
/* $Id: getrusage.c,v 1.2 2003/05/15 16:35:30 momjian Exp $ */
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* getusage.c
|
||||
* 64-bit versions of fseeko/ftello()
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/getrusage.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
@ -1,4 +1,16 @@
|
||||
/* $Id: isinf.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* isinf.c
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/isinf.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "c.h"
|
||||
|
||||
|
@ -1,4 +1,17 @@
|
||||
/* $Id: path.c,v 1.2 2003/08/04 00:43:33 momjian Exp $ */
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* path.c
|
||||
* portable path handling routines
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/path.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "c.h"
|
||||
#include <ctype.h>
|
||||
|
@ -1,4 +1,17 @@
|
||||
/* $Id: random.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* random.c
|
||||
* random() wrapper
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/random.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "c.h"
|
||||
|
||||
|
@ -1,9 +1,16 @@
|
||||
/*
|
||||
* psql - the PostgreSQL interactive terminal
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* Copyright 2000 by PostgreSQL Global Development Group
|
||||
* sprompt.c
|
||||
* simple_prompt() routine
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/port/sprompt.c,v 1.2 2003/10/26 04:29:15 momjian Exp $
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/sprompt.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
|
@ -1,4 +1,17 @@
|
||||
/* $Id: srandom.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* srandom.c
|
||||
* srandom() wrapper
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/srandom.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "c.h"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: strcasecmp.c,v 1.2 2003/08/04 02:40:20 momjian Exp $ */
|
||||
/* $Id: strcasecmp.c,v 1.3 2003/11/11 23:52:45 momjian Exp $ */
|
||||
|
||||
/*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
@ -13,17 +13,13 @@
|
||||
* is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static char sccsid[] = "@(#)strcasecmp.c 5.5 (Berkeley) 11/24/87";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* This array is designed for mapping upper and lower case letter
|
||||
* together for a case independent comparison. The mappings are
|
||||
p * based upon ascii character sequences.
|
||||
* based upon ascii character sequences.
|
||||
*/
|
||||
static unsigned char charmap[] = {
|
||||
'\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007',
|
||||
|
@ -8,10 +8,11 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/strdup.c,v 1.2 2003/08/04 02:40:20 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/port/strdup.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "strdup.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*-
|
||||
/*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1990 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
|
Loading…
x
Reference in New Issue
Block a user