|
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: 1287 (0x507) Types: TextFile Names: »space.c«
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89 └─⟦this⟧ »./DVIware/laser-setters/quicspool/libprofile/space.c« └─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« └─⟦ca79c7339⟧ └─⟦this⟧ »DVIware/laser-setters/quicspool/libprofile/space.c«
static char *rcs = "$Header: space.c,v 1.1 88/01/15 12:17:10 simpson Rel $"; /* $Log: space.c,v $ * Revision 1.1 88/01/15 12:17:10 simpson * initial release * * Revision 0.1 87/12/11 17:02:15 simpson * beta test * */ #include "profile.h" extern char *calloc(); PROFILE_STANZA *profile_stanza_space () { return((PROFILE_STANZA *)calloc(1, sizeof(PROFILE_STANZA))); } PROFILE_MARKER *profile_marker_space (n) int n; { char *space; PROFILE_MARKER *m = (PROFILE_MARKER *)0; if (space = calloc(1, sizeof(PROFILE_MARKER) + n + 1)) { m = (PROFILE_MARKER *)space; m->text = space + sizeof(PROFILE_MARKER); } return(m); } PROFILE_BINDING *profile_binding_space (n) int n; /* length of binding name in characters */ { char *space; PROFILE_BINDING *b = (PROFILE_BINDING *)0; if (space = calloc(1, sizeof(PROFILE_BINDING) + n + 1)) { b = (PROFILE_BINDING *)space; b->name = space + sizeof(PROFILE_BINDING); } return(b); } PROFILE_VALUE *profile_value_space (n) int n; { char *space; PROFILE_VALUE *v = (PROFILE_VALUE *)0; if (n > 0) { if (space = calloc(1, sizeof(PROFILE_VALUE) + n + 1)) { v = (PROFILE_VALUE *)space; v->value.s = space + sizeof(PROFILE_VALUE); } } else v = (PROFILE_VALUE *)calloc(1, sizeof(PROFILE_VALUE)); return(v); }