Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Eugene Korovin                       2:5080/196.72  05 Sep 2001  17:51:09
 To : Vorotov Alexey
 Subject : Re: Alexey
 -------------------------------------------------------------------------------- 
 
 
 VA>     Кто-нибудь слышал что-нибудь о проецировании
 VA> файла на виртуальное адресное пространство?
 
 MMAP(2)             Linux Programmer's Manual             MMAP(2)
 
 NAME
        mmap, munmap - map or unmap files or devices into memory
 
 SYNOPSIS
        #include <unistd.h>
        #include <sys/mman.h>
 
        #ifdef _POSIX_MAPPED_FILES
 
        void  *  mmap(void  *start,  size_t length, int prot , int
        flags, int fd, off_t offset);
 
        int munmap(void *start, size_t length);
 
        #endif
 
 DESCRIPTION
        The mmap function asks to map  length  bytes  starting  at
        offset offset from the file (or other object) specified by
        the file descriptor fd into memory, preferably at  address
        start.  This latter address is a hint only, and is usually
        specified as 0.  The actual  place  where  the  object  is
        mapped  is  returned by mmap.  The prot argument describes
        the desired memory protection (and must not conflict  with
        the open mode of the file). It has bits
 <...>
 Ы?
 
 VA>     Если да, то поделитесь информацией.
 
 man 2 mmap
   With best regards, Eugene [ Registered Linux user #194650 ]
 ...np: Roxette. The look
 --- tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.9 (i586))
  * Origin: Улыбайтесь - шеф любит идиотов (2:5080/196.72)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Alexey   Vorotov Alexey   04 Sep 2001 07:19:58 
 Re: Alexey   Eugene Korovin   05 Sep 2001 17:51:09 
Архивное /ru.linux/40042cdfbbd7.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional