rerrstr.c 173 B

123456789101112
  1. #include "lib9.h"
  2. void
  3. rerrstr(char *buf, uint nbuf)
  4. {
  5. char tmp[ERRMAX];
  6. tmp[0] = 0;
  7. errstr(tmp, sizeof tmp);
  8. utfecpy(buf, buf+nbuf, tmp);
  9. errstr(tmp, sizeof tmp);
  10. }