]> andersk Git - splint.git/blob - test/globalbufferannotation/globalvariable.c
Changed to used /\ and requires instead of bufferConstraint
[splint.git] / test / globalbufferannotation / globalvariable.c
1 //#include "/home/drl7x/re/LCLintDev/lib/ansi.h"
2
3 static char f [12];
4 extern void /*@alt char * @*/
5   mstrcpy (/*@unique@*/ /*@out@*/ /*returned*/ char *s1, char *s2) 
6      /*@modifies *s1@*/ /*@requires MaxSet(s1) >= MaxRead(s2); @*/;
7
8
9 void copyf (char * c) /*@requires MaxSet(c) >= MaxRead(f); @*/
10 {
11   mstrcpy (c, f);
12 }
This page took 0.036775 seconds and 5 git commands to generate.