Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Any tips/suggestions for a newbie beginning to read the Linux Kernel Source Code Post 302461842 by clavian on Tuesday 12th of October 2010 12:32:41 PM
Old 10-12-2010
Hi Vbe,

Thanks. I shall buy that book soon. Any other online resources available too?
 

10 More Discussions You Might Find Interesting

1. Linux

source code for linux

Hi , where can i get free source code for LINUX commands , OS , system calls etc. Thanks Naren (2 Replies)
Discussion started by: naren_chella
2 Replies

2. BSD

Am searching for source code of openBSD kernel..

Hello Friends, Am lakshma reddy, doing my masters, i had some interest in exploring the source code of any open LINUX/UNIX, i searched for that i know i can get it but this time am finding it difficult in doing that. To be frank am new to this UNIX?LINUX platform. I need it since i want to... (1 Reply)
Discussion started by: luckyy
1 Replies

3. UNIX for Advanced & Expert Users

How to read freebsd kernel source?

I got the freebsd kernel source from the first install CD(in directory:\7.0-RELEASE\src\),isn't right? if so,how can i read it? Is there any tools? (1 Reply)
Discussion started by: zhouq3132
1 Replies

4. UNIX for Dummies Questions & Answers

How to read freebsd kernel source?

I got the freebsd kernel source from the first install CD(in directory:\7.0-RELEASE\src\),isn't right? if so,how can i read it? Is there any tools? (4 Replies)
Discussion started by: zhouq3132
4 Replies

5. Shell Programming and Scripting

Linux source code

Unix is written in C. From where u can see the source code of unix or linux (1 Reply)
Discussion started by: pritish.sas
1 Replies

6. Fedora

Newbie at Linux Kernel programming!

Hi Friends, This is my first ever post on this forum. I am a new user in the Linux field. Although, I have been working for sometime with CentOS at my work, I would consider myself an amateur only in this field. :D The way file system works in linux and the reason its open-source, has really... (7 Replies)
Discussion started by: rohitrajjain
7 Replies

7. BSD

BSD Kernel Source Code

Hi I need the BSD core (kernel) operating system Please let me download link I'm from Iran Please help me Thank you very much (1 Reply)
Discussion started by: sepadl71
1 Replies

8. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

9. Programming

Linux kernel code syntax doubt

I have found some definitions as below, can anyone explain me what it means and why it is being used this way please. asmlinkage void __sched schedule(void) (4 Replies)
Discussion started by: kumaran_5555
4 Replies

10. Linux

Create a bootable PXE image from build kernel source code

Hi, Can i just ask how I can create a bootable PXE image from the built kernel source. What files do I need to get? Thanks! (1 Reply)
Discussion started by: h0ujun
1 Replies
READAHEAD(2)						     Linux Programmer's Manual						      READAHEAD(2)

NAME
readahead - perform file readahead into page cache SYNOPSIS
#define _GNU_SOURCE #include <fcntl.h> ssize_t readahead(int fd, off64_t offset, size_t count); DESCRIPTION
readahead() populates the page cache with data from a file so that subsequent reads from that file will not block on disk I/O. The fd argument is a file descriptor identifying the file which is to be read. The offset argument specifies the starting point from which data is to be read and count specifies the number of bytes to be read. I/O is performed in whole pages, so that offset is effectively rounded down to a page boundary and bytes are read up to the next page boundary greater than or equal to (offset+count). readahead() does not read beyond the end of the file. readahead() blocks until the specified data has been read. The current file offset of the open file referred to by fd is left unchanged. RETURN VALUE
On success, readahead() returns 0; on failure, -1 is returned, with errno set to indicate the cause of the error. ERRORS
EBADF fd is not a valid file descriptor or is not open for reading. EINVAL fd does not refer to a file type to which readahead() can be applied. VERSIONS
The readahead() system call appeared in Linux 2.4.13; glibc support has been provided since version 2.3. CONFORMING TO
The readahead() system call is Linux-specific, and its use should be avoided in portable applications. SEE ALSO
lseek(2), madvise(2), mmap(2), posix_fadvise(2), read(2) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2007-07-26 READAHEAD(2)
All times are GMT -4. The time now is 02:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy