Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioUnixfile.cc106 if (fstat(getfd(), &st) < 0) in decode_filehdr()
116 cnt = read(getfd(), (char *)&fhdr, sizeof (fhdr)); in decode_filehdr()
122 err = (AudioError) audio_decode_filehdr(getfd(), (unsigned char *)&fhdr, in decode_filehdr()
129 cnt = read(getfd(), ibuf, infosize); in decode_filehdr()
222 err = (AudioError) audio_write_filehdr(getfd(), &ohdr, FILE_AU, in encode_filehdr()
243 flag = fcntl(getfd(), F_GETFL, 0); in SetBlocking()
252 if (fcntl(getfd(), F_SETFL, flag) < 0) { in SetBlocking()
292 if (close(getfd()) < 0) in Close()
H A DAudioPipe.cc63 (void) close(getfd()); // If error, remove file in Create()
87 (void) close(getfd()); in Open()
H A DAudioRawPipe.cc91 if (fstat(getfd(), &st) < 0) in Open()
97 (void) close(getfd()); in Open()
H A DAudioFile.cc394 (lseek(getfd(), (off_t)0, SEEK_END) - hdrsize)) { in Close()
401 err = (AudioError) audio_rewrite_filesize(getfd(), FILE_AU, in Close()
519 if (lseek(getfd(), (off_t)(hdrsize + offset), SEEK_SET) < 0) in seekread()
548 if (lseek(getfd(), (off_t)(hdrsize + offset), SEEK_SET) < 0) in seekwrite()
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioUnixfile_inline.h38 getfd() const { in getfd() function
H A DAudioUnixfile.h56 int getfd() const; // Return descriptor