Searched refs:getfd (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioUnixfile.cc | 106 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 D | AudioPipe.cc | 63 (void) close(getfd()); // If error, remove file in Create() 87 (void) close(getfd()); in Open()
|
H A D | AudioRawPipe.cc | 91 if (fstat(getfd(), &st) < 0) in Open() 97 (void) close(getfd()); in Open()
|
H A D | AudioFile.cc | 394 (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 D | AudioUnixfile_inline.h | 38 getfd() const { in getfd() function
|
H A D | AudioUnixfile.h | 56 int getfd() const; // Return descriptor
|