OSDN Git Service

* fhandler.h (fhandler_dev_mem): Add method `init'. Add members
authorcorinna <corinna>
Wed, 4 Oct 2000 17:08:46 +0000 (17:08 +0000)
committercorinna <corinna>
Wed, 4 Oct 2000 17:08:46 +0000 (17:08 +0000)
commit4e0ed32994b1f7db88a5f2c823870b7140062202
treedbe5e47867987d050c1a528c40174a426c504ea8
parente21268bdcc023c8922a1bec55c787a661401adb9
    * fhandler.h (fhandler_dev_mem): Add method `init'. Add members
        `mem_size' and `init_phase'.
        * fhandler_mem.cc (init): New function to figure out the size of
        the physical memory.
        (open): Add checking for illegal flags. Change usage of access mode.
        (write): Add intended functionality.
        (read): Add parameter checking. Eliminate page size constant. Use
        getpagesize() instead. Don't touch errno and don't create debug output
        while init() is running.
        (lseek): Add bounds checking. Fix SEEK_END.
        (fstat): Eliminate page size constant. Use getpagesize() instead.
        (dup): Add intended functionality.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_mem.cc