Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libcmdutils/
H A Dlibcmdutils.h149 typedef struct custr custr_t; typedef
155 extern int custr_alloc(custr_t **);
156 extern void custr_free(custr_t *);
163 extern int custr_appendc(custr_t *, char);
164 extern int custr_append(custr_t *, const char *);
170 extern size_t custr_len(custr_t *);
176 extern void custr_reset(custr_t *);
183 extern const char *custr_cstr(custr_t *str);
/titanic_41/usr/src/lib/libcmdutils/common/
H A Dcustr.c35 custr_reset(custr_t *cus) in custr_reset()
45 custr_len(custr_t *cus) in custr_len()
51 custr_cstr(custr_t *cus) in custr_cstr()
57 custr_appendc(custr_t *cus, char newc) in custr_appendc()
68 custr_append(custr_t *cus, const char *news) in custr_append()
114 custr_alloc(custr_t **cus) in custr_alloc()
116 custr_t *t; in custr_alloc()
128 custr_free(custr_t *cus) in custr_free()
/titanic_41/usr/src/cmd/mailx/
H A Dhead.c57 static int nextword(const char *, custr_t *, const char **);
177 nextword(const char *input, custr_t *word, const char **nextword) in nextword()
/titanic_41/usr/src/cmd/mailx/hdr/
H A Ddef.h213 custr_t *hl_from; /* The name of the sender */
214 custr_t *hl_tty; /* His tty string (if any) */
215 custr_t *hl_date; /* The entire date string */