Home
last modified time | relevance | path

Searched refs:str_base (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_strio.c43 char *str_base; /* Pointer to private copy of string */ member
52 size_t left = sd->str_base + sd->str_len - sd->str_ptr; in strio_read()
75 nptr = sd->str_base + offset; in strio_seek()
81 nptr = sd->str_base + sd->str_len + offset; in strio_seek()
87 if (nptr < sd->str_base || nptr > sd->str_ptr + sd->str_len) in strio_seek()
91 return ((off64_t)(nptr - sd->str_base)); in strio_seek()
99 strfree(sd->str_base); in strio_close()
138 sd->str_base = strndup(s, sd->str_len); in mdb_strio_create()
139 (void) strcat(sd->str_base, "\n"); in mdb_strio_create()
140 sd->str_ptr = sd->str_base; in mdb_strio_create()