Gute API vs. Schlechte API Schlecht: int i; char buf[100]; sprintf(buf,"the number is %d",i); Gut: stralloc s={0}; stralloc_copys(&s,"the number is "); stralloc_catuint(&s,i); Gute API vs. Schlechte API Schlecht: int fd=open("foo",O_WRONLY|O_CREAT,0600); Gut: int fd=open_write("foo");