LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-08-2005, 02:15 PM   #1
AngryLlama
Member
 
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:
Code:
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?

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

Original Poster
Rep: Reputation: 31
Nevermind.

I got it
 
  


Reply



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 10:25 AM
Implementing mmap Kumar Programming 0 09-08-2005 03:12 AM
mmap function professional1983 Programming 1 06-14-2005 04:23 AM
mmap() error FarAway Programming 3 03-30-2005 07:38 AM
kiobuf vs. mmap j4r0d Programming 8 01-10-2005 03:18 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:59 PM.

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