Annotation of qemu/roms/openbios/fs/os.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * libhfs - library for reading and writing Macintosh HFS volumes
        !             3:  * Copyright (C) 1996-1998, 2003 Robert Leslie
        !             4:  *
        !             5:  * This program is free software; you can redistribute it and/or modify
        !             6:  * it under the terms of the GNU General Public License as published by
        !             7:  * the Free Software Foundation; either version 2 of the License, or
        !             8:  * (at your option) any later version.
        !             9:  *
        !            10:  * This program is distributed in the hope that it will be useful,
        !            11:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            12:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            13:  * GNU General Public License for more details.
        !            14:  *
        !            15:  * You should have received a copy of the GNU General Public License
        !            16:  * along with this program; if not, write to the Free Software
        !            17:  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
        !            18:  * MA 02110-1301, USA.
        !            19:  *
        !            20:  * $Id: os.h,v 1.1.1.1 2000/07/25 10:33:40 kkaempf Exp $
        !            21:  */
        !            22: 
        !            23: #ifndef _H_OS
        !            24: #define _H_OS
        !            25: 
        !            26: /*
        !            27:  * NAME:       os->same()
        !            28:  * DESCRIPTION:        return 1 iff path is same as the open descriptor
        !            29:  */
        !            30: int os_same( int fd1, int fd2 );
        !            31: 
        !            32: /*
        !            33:  * NAME:       os->seek()
        !            34:  * DESCRIPTION:        set a descriptor's seek pointer (offset in blocks)
        !            35:  */
        !            36: unsigned long os_seek( int fd, unsigned long offset, int blksize_bits);
        !            37: 
        !            38: /*
        !            39:  * NAME:       os->read()
        !            40:  * DESCRIPTION:        read blocks from an open descriptor
        !            41:  */
        !            42: unsigned long os_read( int fd, void *buf, unsigned long len, int blksize_bits);
        !            43: 
        !            44: /*
        !            45:  * NAME:       os->write()
        !            46:  * DESCRIPTION:        write blocks to an open descriptor
        !            47:  */
        !            48: unsigned long os_write( int fd, const void *buf, unsigned long len, int blksize_bits);
        !            49: 
        !            50: /*
        !            51:  * NAME:       os->seek_offset()
        !            52:  * DESCRIPTION:        set a descriptor's seek pointer (offset in bytes)
        !            53:  */
        !            54: void os_seek_offset( int fd, long long offset );
        !            55: 
        !            56: 
        !            57: #endif   /* _H_OS */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.