/********************************************************************** * Copyright (c) Digital Equipment Corporation 1984, 1985, 1986. * * All Rights Reserved. * * Reference "/usr/src/COPYRIGHT" for applicable restrictions. * **********************************************************************/ # include "../hdr/defines.h" static char Sccsid[] = "@(#)chksid.c 3.0 4/22/86"; chksid(p,sp) char *p; register struct sid *sp; { if (*p || (sp->s_rel == 0 && sp->s_lev) || (sp->s_lev == 0 && sp->s_br) || (sp->s_br == 0 && sp->s_seq)) fatal("invalid sid (co8)"); }