Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-25-2004, 10:13 AM   #1
LQ Newbie
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Can PIPE_BUF constant in linux/limits.h be changes ?

I am trying to find out if there is a way to change the PIPE_BUF constant defined
in linux/limits.h to increase the number of bytes allowed for atomic writes to a pipe.

Would this have any adverse effect on linux kernel 2.6 since it is preemtive ?
Old 06-25-2004, 10:48 AM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
i am far from competant to be addressing this so please consider the reality i am possibly all wrong !
i think you certainly couldn't change that without recompiling
glibc (thats where that symbol would reside i think) and certainly you would have to change it in the currently running kernel source and recompile the kernel as well
then of course you would have to recompile anything else that picked that up at compile time
and has it hardcoded in...
as far as runtime troubles in the kernel i think it's one of those try it and see kind of things


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
no /etc/limits ? Mig21 Slackware 7 07-25-2005 11:18 PM
Constant # Installs Leo Leavitt Linux - Software 5 06-02-2005 10:12 AM
The limits of Linux Aphex_Twin2 Linux - General 5 05-23-2005 09:45 AM
[URGENT]linux/limits.h: Input/output error havish14 Programming 3 04-20-2004 02:09 PM
Oh, that constant pinging... thosm Linux - Networking 4 07-31-2003 01:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration