Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c127 wchar_t *fmb_data; /* wide-character data buffer */ member
462 b->fmb_data = malloc(sizeof (wchar_t) * FMD_MSGBUF_SZ); in fmd_msg_buf_init()
464 if (b->fmb_data == NULL) in fmd_msg_buf_init()
473 free(b->fmb_data); in fmd_msg_buf_fini()
492 if (wcstombs(s, b->fmb_data, b->fmb_used) == (size_t)-1) { in fmd_msg_buf_read()
518 bcopy(b->fmb_data, data, b->fmb_used * sizeof (wchar_t)); in fmd_msg_buf_write()
519 free(b->fmb_data); in fmd_msg_buf_write()
521 b->fmb_data = data; in fmd_msg_buf_write()
525 bcopy(w, &b->fmb_data[b->fmb_used], sizeof (wchar_t) * n); in fmd_msg_buf_write()