Searched refs:ts_buf (Results 1 - 4 of 4) sorted by relevance

/libmicro/
H A Dpread.c43 char *ts_buf; member in struct:__anon33
106 if (ts->ts_buf == NULL) {
107 ts->ts_buf = malloc(opts);
121 if (pread(fd, ts->ts_buf, opts, 0) != opts) {
126 ts->ts_buf[j] = 0;
H A Dpwrite.c43 char *ts_buf; member in struct:__anon35
115 if (ts->ts_buf == NULL) {
116 ts->ts_buf = malloc(opts);
124 ts->ts_buf[i] = 0;
137 if (pwrite(fd, ts->ts_buf, opts, 0) != opts) {
H A Dread.c44 char *ts_buf; member in struct:__anon36
106 if (ts->ts_buf == NULL) {
107 ts->ts_buf = malloc(opts);
123 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) {
128 ts->ts_buf[j] = 0;
H A Dwrite.c43 char *ts_buf; member in struct:__anon49
108 if (ts->ts_buf == NULL) {
109 ts->ts_buf = malloc(opts);
122 ts->ts_buf[i] = 0;
137 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) {

Completed in 9 milliseconds