|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 1164 (0x48c) Types: TextFile Names: »str.h«
└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen └─⟦b5330643c⟧ »./cops/perl-4.019/perl.tar.Z« └─⟦2b9a58213⟧ └─⟦this⟧ »perl-4.019/x2p/str.h«
/* $RCSfile: str.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 12:20:22 $ * * Copyright (c) 1991, Larry Wall * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * * $Log: str.h,v $ * Revision 4.0.1.1 91/06/07 12:20:22 lwall * patch4: new copyright notice * * Revision 4.0 91/03/20 01:58:21 lwall * 4.0 baseline. * */ struct string { char * str_ptr; /* pointer to malloced string */ double str_nval; /* numeric value, if any */ int str_len; /* allocated size */ int str_cur; /* length of str_ptr as a C string */ union { STR *str_next; /* while free, link to next free str */ } str_link; char str_pok; /* state of str_ptr */ char str_nok; /* state of str_nval */ }; #define Nullstr Null(STR*) /* the following macro updates any magic values this str is associated with */ #define STABSET(x) (x->str_link.str_magic && stabset(x->str_link.str_magic,x)) EXT STR **tmps_list; EXT long tmps_max INIT(-1); char *str_2ptr(); double str_2num(); STR *str_mortal(); STR *str_make(); STR *str_nmake(); char *str_gets();