DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T s

⟦fd895186e⟧ TextFile

    Length: 1216 (0x4c0)
    Types: TextFile
    Names: »string.h«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« 
        └─⟦2109abc41⟧ 
            └─ ⟦this⟧ »./X.V10R4/Toolkit/Sx/code/string.h« 

TextFile

/*
 *	$Source: /u1/Sx.new/code/RCS/string.h,v $
 *	$Header: string.h,v 1.1 86/12/03 16:12:13 swick Exp $
 */

/*
 * string.h --
 *
 *	This is a dummy version of string.h, which uses standard Unix
 *	routines instead of the Sprite library routines.  It's here
 *	so Sx can be used independently of the Sprite library.
 *
 * Copyright (C) 1986 Regents of the University of California.
 * Permission to use, copy, modify, and distribute this
 * software and its documentation for any purpose and without
 * fee is hereby granted, provided that the above copyright
 * notice appear in all copies and that both that copyright
 * notice and this permission notice appear in supporting
 * documentation.  The University of California makes no
 * representations about the suitability of this software for
 * any purpose.  It is provided "as is" without express or
 * implied warranty.
 *
 *
 * $Header: string.h,v 1.1 86/12/03 16:12:13 swick Exp $ SPRITE (Berkeley)
 */

#ifndef _STRING
#define _STRING

#define String_Length(string) strlen(string)
#define String_Copy(src, dst) strcpy(dst, src)
#define String_NCopy(numBytes, src, dst) strncpy(dst, src, numBytes)
#define String_Compare(a, b) strcmp(a, b)

#endif _STRING