LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-21-2005, 06:52 PM   #1
stefaandk
Member
 
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?

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

Rep: Reputation: 53
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
Code:
/*...............*/
#define
#include
#ifdef
#ifndef
are no comments at all...
If you remove the # then the compiler will complain about errors
http://www.its.strath.ac.uk/courses/...00000000000000

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

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

Ta
 
  


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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:25 AM.

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