/
githubmirror
/
lsof
Обзор
Документация
Войти
/
githubmirror
/
lsof
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.96.0
NEW/samples
26 строк
472 B
Masatake YAMATO
Import the final source tree published by Vic, the original lsof maintainer.
23 июл 2018, 06:45
23 июл 2018, 06:45
8662085
Код
Авторство
О чём код?
char * print_off(lf, ty) struct lfile *lf; /* file whose size is to be printed */ int ty; /* format type: 0 == 0t<decimal> * 1 == 0x<hexadecimal> */ { static buf[128]; if (!ty) (void) sprintf(buf, SzOffFmt_0t, lf->off); else (void) sprintf(buf, SzOffFmt_x, lf->off); return(buf); } char * print_sz(lf) struct lfile *lf; /* file whose size is to be printed */ { static buf[128]; (void) sprintf(buf, SzOffFmt_d, lf->sz); return(buf); }