Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-08-2005, 03:15 PM   #1
Registered: Sep 2004
Location: /dev/urandom
Distribution: Gentoo
Posts: 171

Rep: Reputation: 31
using mmap

I've been searching Google and LQ trying to figure out how to use mmap. I find plenty of examples on how to set the mmap on the user side:
dmap = mmap(0, size, flags, fd, 0);
However, I can't find how to create the mmap interface on the kernel module side. Can anyone help me, or at least point me in the right direction?

Old 02-09-2005, 09:53 AM   #2
Registered: Sep 2004
Location: /dev/urandom
Distribution: Gentoo
Posts: 171

Original Poster
Rep: Reputation: 31

I got it


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gdb and mmap dcfnef Programming 8 09-30-2005 11:25 AM
Implementing mmap Kumar Programming 0 09-08-2005 04:12 AM
mmap function professional1983 Programming 1 06-14-2005 05:23 AM
mmap() error FarAway Programming 3 03-30-2005 08:38 AM
kiobuf vs. mmap j4r0d Programming 8 01-10-2005 04:18 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration