¡@

Home 

c++ Programming Glossary: getconf

What should be the sizeof(int) on a 64-bit machine? [duplicate]

http://stackoverflow.com/questions/10197242/what-should-be-the-sizeofint-on-a-64-bit-machine

WORD_BIT is 32 . Shouldn't it be 64 on a 64 bit machine getconf WORD_BIT 32 And shouldn't the sizeof int be 64 bits 8 bytes..

Seeking and reading large files in a Linux C++ application

http://stackoverflow.com/questions/1035657/seeking-and-reading-large-files-in-a-linux-c-application

off_t. For portability with other platforms you should use getconf LFS_CFLAGS which will return D_FILE_OFFSET_BITS 64 on Linux.. you should use the link flags that are reported via getconf LFS_LDFLAGS. On Linux systems you do not need special link flags...

why doesn't my program crash when I write past the end of an array?

http://stackoverflow.com/questions/6452959/why-doesnt-my-program-crash-when-i-write-past-the-end-of-an-array

is 4096 bytes. or one can use the commandline utility getconf like this getconf PAGESIZE 4096 post mortem It turns out that.. or one can use the commandline utility getconf like this getconf PAGESIZE 4096 post mortem It turns out that the segfault occurs..

About command line arguments of main function

http://stackoverflow.com/questions/7498892/about-command-line-arguments-of-main-function

arguments main share improve this question You can try getconf ARG_MAX 2180000 http pubs.opengroup.org onlinepubs 007904975.. _SC_ARG_MAX which yields the same value as reported by getconf ARG_MAX . On Linux command line arguments and environment variables..