Lines Matching refs:offset
55 int offset;
61 offset = (int) (code & ((1<<ERRCODE_RANGE)-1));
62 table_num = code - offset;
65 if (offset < sys_nerr)
66 return(sys_errlist[offset]);
70 cp = strerror(offset);
80 if (et->table->n_msgs <= offset)
82 return(et->table->msgs[offset]);
88 if (et->table->n_msgs <= offset)
90 return(et->table->msgs[offset]);
101 if (offset >= 100) {
102 *cp++ = '0' + offset / 100;
103 offset %= 100;
106 if (started || offset >= 10) {
107 *cp++ = '0' + offset / 10;
108 offset %= 10;
110 *cp++ = '0' + offset;