Searched refs:getfd (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/audio/utilities/ |
H A D | AudioUnixfile.cc | 108 if (fstat(getfd(), &st) < 0) in decode_filehdr() 118 cnt = read(getfd(), (char *)&fhdr, sizeof (fhdr)); in decode_filehdr() 124 err = (AudioError) audio_decode_filehdr(getfd(), (unsigned char *)&fhdr, in decode_filehdr() 131 cnt = read(getfd(), ibuf, infosize); in decode_filehdr() 224 err = (AudioError) audio_write_filehdr(getfd(), &ohdr, FILE_AU, in encode_filehdr() 245 flag = fcntl(getfd(), F_GETFL, 0); in SetBlocking() 254 if (fcntl(getfd(), F_SETFL, flag) < 0) { in SetBlocking() 294 if (close(getfd()) < 0) in Close()
|
H A D | AudioPipe.cc | 65 (void) close(getfd()); // If error, remove file in Create() 89 (void) close(getfd()); in Open()
|
H A D | AudioRawPipe.cc | 93 if (fstat(getfd(), &st) < 0) in Open() 99 (void) close(getfd()); in Open()
|
H A D | AudioFile.cc | 399 (lseek(getfd(), (off_t)0, SEEK_END) - hdrsize)) { in Close() 406 err = (AudioError) audio_rewrite_filesize(getfd(), FILE_AU, in Close() 524 if (lseek(getfd(), (off_t)(hdrsize + offset), SEEK_SET) < 0) in seekread() 553 if (lseek(getfd(), (off_t)(hdrsize + offset), SEEK_SET) < 0) in seekwrite()
|
/titanic_50/usr/src/cmd/audio/include/ |
H A D | AudioUnixfile_inline.h | 40 getfd() const { in getfd() function
|
H A D | AudioUnixfile.h | 58 int getfd() const; // Return descriptor
|