Archive for the 'C Programming' Category
- Linux: Boost application performance using asynchronous I/O
Learn when and how to use the POSIX AIO API under Linux to boost application performance.
Linux asynchronous I/O is a part of Linux kernel 2.6.. The basic idea behind AIO is to allow a process to initiate a number of I/O operations without having to block or wait for any to complete. At some later [...] - Examining gcc behavior
Recently my friend highlighted something that can be use to examining gcc complier behavior.
You can pass following options to gcc-v : Display the commands executed to run the stages of compilation on screen.
-x language : I am using C
/dev/null : Use /dev/null as input fileFor example when I type the following command:
gcc -v -x c [...] - strace and the GDB Debugger mini howto
IBM Developer works has published a simple howto/guide that will gain you a quality knowledge while exploring your UNIX system.
FTA, “…Programming a UNIX system can be fun as well as educational. With the UNIX strace tool and GDB, the GNU Project Debugger, you can really dig deep into the functionality of your system and learn [...] - Programming C: Find out name of a terminal
Recently I was writing a small experimental program under GNU/Linux. My tiny application needed input from terminal.
I need to find out name of a terminal. Further, I need to know if a particular file descriptor is a tty device or not.
I found ttyname() function which accepts an open file descriptor as its input [...] - Linux: How to compile program
Many newbies find it difficult to compiling programs under Linux (command mentioned below should also work with FreeBSD or any other UNIX like system). The fact that Linux is open source OS, so most of the programs are also open sources. Improvements and security, bug patches needs to us compile not just Kernel but [...]
Viewing 21-25 of 25 posts.
« Previous Page


Recent Comments
Today ~ 4 Comments
Today ~ 160 Comments
Today ~ 5 Comments
Yesterday ~ 6 Comments
Yesterday ~ 4 Comments