Lines Matching refs:strbuf
627 sfprintf(shp->strbuf,"%.*f",places,d);
628 return(sfstruse(shp->strbuf));
741 sfprintf(shp->strbuf,"%.*g",12,*((double*)val));
742 val = sfstruse(shp->strbuf);
979 sfprintf(shp->strbuf,".sh.math.%s",np->nvname);
980 return(sfstruse(shp->strbuf));
1037 sfputc(shp->strbuf,' ');
1038 sfputr(shp->strbuf,mp->nvname+9,-1);
1040 val = sfstruse(shp->strbuf);
1314 shp->strbuf = sfstropen();
1316 sfsetbuf(shp->strbuf,(char*)0,64);
1383 sfprintf(shp->strbuf,"%s/.kshrc",nv_getval(HOME));
1384 nv_putval(ENVNOD,sfstruse(shp->strbuf),NV_RDONLY);
1401 sfprintf(shp->strbuf,"/proc/%d/exe",getpid());
1402 if((n=readlink(sfstruse(shp->strbuf),buff,sizeof(buff)-1))>0)
1761 sfprintf(shp->strbuf,".sh.stats.%s",np->nvname);
1762 return(sfstruse(shp->strbuf));