Lines Matching defs:infop
69 * If 'infop' is not NULL, it is the address of a buffer containing 'info'
81 audio_write_filehdr(int fd, Audio_hdr *hdrp, int file_type, char *infop,
94 blen = HEADER_BUFFER + (infop ? ilen : 0) + 4;
103 err = audio_encode_au(hdrp, infop, ilen, buf, &blen);
303 * If 'infop' is not NULL, it is the address of a buffer to which the
318 audio_read_filehdr(int fd, Audio_hdr *hdrp, int *file_type, char *infop,
369 if ((infop != NULL) && (ilen != 0)) {
371 * If infop is non-NULL, try to read in the info data
375 err = read(fd, infop, (int)isize);
381 (void) memset(&infop[isize], '\0',
384 infop[ilen - 1] = '\0'; /* zero-terminate */
964 * store the header in. If 'infop' is not NULL, it is the address of a
971 audio_encode_au(Audio_hdr *hdrp, char *infop, unsigned int ilen,
990 if ((infop == NULL) || (ilen == 0)) {
991 infop = NULL;
1106 if (infop != NULL) {
1107 (void) memcpy(&buf[sizeof (fhdr)], infop, (int)ilen);