By Unknown Jumat, 09 November 2007 API BSD buffer overflow directory file descriptor Function Pointers getcwd Library open source Optimization PATH_MAX Portability realpath save_cwd secure standards compliance Implementing realpath() in C++ Before reading this post, please read the background in the previous post PATH_MAX simply isn't , as it covers important background, and...
By Unknown Sabtu, 03 November 2007 API BSD buffer overflow bugs directory getcwd Library Mac OS X opendir PATH_MAX Portability readdir realpath save_cwd standards compliance stat Windows PATH_MAX simply isn't Many C/C++ programmers at some point may run into a limit known as PATH_MAX. Basically, if you have to keep track of paths to files/director...
By Unknown Selasa, 19 Juni 2007 bugs c99 Cfront export GCC MSVC Portability standards compliance Can you name a C++ compiler? C++ is arguably the best primary language available today for non web based applications that are large, complicated, and advanced. But what...
By Unknown Rabu, 13 Juni 2007 API BSD c99 CPU Detection Hashing Library open source Optimization Portability Hashing out Hashing and Hash Libraries This topic is one that I enjoy quite a bit, but unfortunately there is a lot of problems out there. I'm sure everyone has heard of hashi...
By Unknown Sabtu, 26 Mei 2007 CPU Detection Function Pointers Optimization Secrets to Optimization - Function Pointers Let me present you with a bit of code which you might find quite commonly in a program: void function_1(type a, type b) { if (complex_form...
By Unknown Kamis, 17 Mei 2007 ALSA API binary BSD closed source Library open source OSS Portability The Sorry State of Sound in Linux Lets start with some background. Back in the old days, if you had a PC, there was only one card called "the sound card", which of ...
By Unknown Minggu, 08 April 2007 binary closed source Library open source secure SSH Can you trust your security application? Let me begin with a nice mathematical problem. Say you have a divorced couple that are currently discussing over the phone how to divide up...