Re: Help with file descriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Garrick Staples wrote:
Compile it, run it, viola!
===> Voila! (French is my first language! Trying to help for your french here!)

Um, merci bueco?
</slaughter>


Merci beaucoup!  (Thanks a lot!)

</you_re_good!>


Actually, i found that the code should read:

#include <unistd.h>
  #include <stdio.h>

  int main (void) {
    printf("current file limit: %d\n",getdtablesize());  <=== Added ()
    exit (0);
  }


I got 300 000, it's what i have in /etc/sysctl.conf.


Guy Boisvert
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux