Commit 018cf0f7 authored by Bruce Momjian's avatar Bruce Momjian

Update /port C header descriptions.

parent 0a2c82b5
/*
/*-------------------------------------------------------------------------
*
* 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"
......
/*
/*-------------------------------------------------------------------------
*
* 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
......
/* $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"
......
/* $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>
......
/* $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"
......
/* $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>
......
/* $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"
......
/*
* psql - the PostgreSQL interactive terminal
/*-------------------------------------------------------------------------
*
* sprompt.c
* simple_prompt() routine
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/port/sprompt.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
*
* $Header: /cvsroot/pgsql/src/port/sprompt.c,v 1.2 2003/10/26 04:29:15 momjian Exp $
*-------------------------------------------------------------------------
*/
......
/* $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"
......
/* $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"
......
/*-
/*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment