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 - metrics - download

⟦0a2f6e9af⟧ TextFile

    Length: 428 (0x1ac)
    Types: TextFile
    Names: »getsno.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Empire.V/V1.1/EMPSUBS/getsno.c« 

TextFile

#define D_FILES
#define D_UPDATE
#include        "empdef.h"

getsno(cp, np)
char    *cp, *np;
{
        char    *getstri();

        if( cp == 0 || *cp == '\0' ) {
                cp = getstri(np);
        }
        np = cp;
        sx = atoip(&cp);
        if( *cp++ != ',' ) {
                printf("Format is x,y\n");
                return(-1);
        }
        sy = atoip(&cp);
        return(getsect(sx, sy, UP_OWN));
}