Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-21-2005, 07:52 PM   #1
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
Question about /usr/include/bits/typesizes.h

I need to recompile apache to allow for more then 1024 files opened, following this guide that tells me to edit this file which has to do with glib

/* Number of descriptors that can fit in an `fd_set'. */
#define __FD_SETSIZE 32768

I've changed 1024 to 32768 as above.

Now I'm no programmer, but I understand that the "#" means it's commented out, however I find it a bit strange that every single line in this file hasa '#' in front of it.
So is there a purpose to those # symboles in this file?

I'm not sure whether I should take out this # or not?

Old 07-21-2005, 08:21 PM   #2
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Re: Question about /usr/include/bits/typesizes.h

# is a comment in bash. In C, # means that this is a pre-compiler command.
Comments in C are
are no comments at all...
If you remove the # then the compiler will complain about errors

Last edited by perfect_circle; 07-21-2005 at 08:26 PM.
Old 07-21-2005, 08:30 PM   #3
Registered: Jun 2005
Distribution: Centos
Posts: 215

Original Poster
Rep: Reputation: 30
Righto, good to know, I better keep those # there then ;-)



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/include/linux revsteban Debian 1 02-22-2005 11:41 PM
kdevelop and /usr/include 0pal_t0ad Programming 1 02-14-2005 04:11 PM
/usr/include/linux contains? alaios Linux - General 4 11-11-2004 11:34 PM
question on usr/include/asm/module.h kmack2001 Linux - Newbie 0 02-14-2004 11:40 PM
/usr/include/netdb.h on RH 8.0 nxny Red Hat 2 12-09-2003 06:16 PM

All times are GMT -5. The time now is 08:05 PM.

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