Searched defs:percent (Results 1 - 1 of 1) sorted by relevance

/ast/src/cmd/std/
H A Ddf.c121 int percent; member in struct:__anon226
473 s = (df->total || df->ttotal) ? (sfsprintf(state.buf, sizeof(state.buf), "%3d%%", df->percent), state.buf) : "-";
599 df->percent = 0;
612 df->percent = (df->ttotal = df->avail + df->used) ? (unsigned long)(((double)df->used / (double)df->ttotal + 0.005) * 100.0) : 0;

Completed in 12 milliseconds