Skip to main content


Showing posts from May, 2009

apsscresults 10th Class results ssc 2009 of AP Board

Andhra Pradesh State Board SSC Results 2009 announced today (27-May-09) by 10.45 am. There is lot of rush for those sites, Results will be available on the following sites: I have tried to give direct links for results, good luck to students.

Results direct links from manabadi ssc
SSC results on SMS from manabadi studentResults direct links from
AP SSC REGULAR results 09 SSC PRIVATE Results OSSC REGULAR results OSSC PRIVATE results Results
Sakshi Results. Ceep 2009 Results · Inter Second Year 2009 Results · Inter First Year 2009 Results.

Results direct links from vidyavision.comAndhra Pradesh SSC 2009 Results (General)Andhra Pradesh SSC 2009 Results (Vocational)
Andhra Pradesh Examination pr…

C Traps & Pitfalls Book PDF Online by Andrew Koenig

C Traps & Pitfalls Book PDF Online by Andrew Koenig
C Traps and Pitfalls is a slim computer programming book by former AT&T researcher and programmer Andrew Koenig, its first edition still in print in 2005, which outlines the many ways in which beginners and even sometimes quite experienced C programmers can write poor, malfunctioning and dangerous source code.

It evolved from an earlier technical report published internally at Bell Labs, but is now available online in pdf form.


Happy coding.

Higher Secondary Kerala hse kerala Results Links

Today vhse kerala HSE Kerala DHSE Kerala hseresults 2009 Plus Two Kerala results are declared, students are finding difficult to get results as official sites are coming down, due to hevay loads, For those students here are some direct links and email registration links.
The result will be made available with the joint efforts of Kerala education board and the National Informatics Centre and to be published on
Arrangements have also been made at couple of hundred Akshaya Centres to provide the result where internet connectivity is a problem.
here are direct links for email Registration
DHSE (Plus Two) Results 2009 Results 2009 Kerala Higher secondary examinations Results links
Schoo… PUC Exam Results 2009

Government of Karnataka KARNATAKA EXAMINATIONS AUTHORITY will declare PUC Exam Results 2009 by tomorrow
Likely to be declared on 09/05/2009 at 3:30pm

check you Karnataka PUC Exam Results 2009 at


Find Karnataka PUC Results,PUC Exam Results 2008, Karnataka PUC Results 2008, Karnataka Pre University Results,PUC Results only on
PUC Results 2009, KarnatakaPU Education Department, Karnataka will be announcing the PUC Results 2009 on 9th May 2009.2 puc results, 2nd puc results, 2nd puc results 2009, cet exam results, karnataka puc results, Karnataka Results, Karnataka SSLC Results 2009, puc results 2009, puc results karnataka Karnataka PUC Results | PUC Exam Results 2008 | Karnataka PUC Results 2008 | Karnataka PUC results 2008 | PUC Results

Use of Select() System Call In Linux To make a non-blocking connect()

About Select system call
The  select() function shall examine the file descriptor sets whose addresses are passed in the readfds, writefds,
       and errorfds parameters to see whether some of their descriptors are ready for reading, are ready for  writing,  or
       have an exceptional condition pending, respectively.
  int select(int nfds, fd_set *restrict readfds,
              fd_set *restrict writefds, fd_set *restrict errorfds,
              struct timeval *restrict timeout);
There are many usages of select() system call, Here is one usage in networking applications, The use of select system call is to make non-blocking call in Linux.
how to make a non-blocking connect() in Linux

1. create socket using socket(),

2. set the file descriptor to non-blocking mode using fcntl(2)
   fnctl (fd, SETFL, fcntl(fd, GETFL) | O_NONBLOCK)

3. call connect() - since you have set the socket to non-blocking, it will
return right away with a result of EINPROGRESS.

4.  Now

   a) Go into a loop and keep c…

Working With Linux Patch 10 Step Guide

What is Linux patch ?
Here is patch description from Linux Man pages.
patch - apply a diff file to an original

       patch [options] [originalfile [patchfile]]

       but usually just

       patch -pnum <patchfile

       patch  takes  a patch file patchfile containing a difference listing produced by the diff program and applies those
       differences to one or more original files, producing patched versions.  Normally the patched versions  are  put  in
       place  of the originals.  Backups can be made; see the -b or --backup option.  The names of the files to be patched
       are usually taken from the patch file, but if there√Ęs just one file to be patched it can specified on  the  command
       line as originalfile.

How Linux patch works?
Here is short explanation about How to use patches in linux.
Working with Patch 10 step Guide.
mkdir patch_testcd patch_test/mkdir oldcd oldcreate   file1.txt and file2.txtcd .. ; mkdir newcp file.txt and file2.txt == Now chang…

Creation of Static Libraries In Linux Simple Steps

Here is real time example of creation of static library and its usage, explained in simple steps.
Creation of static library with example

Creation of Static Libraries In Linux Simple Steps

1. Create Test  Directory
  Create working test directory as: /home/test/so

 2. Choose Library Files
   library file name: add.c
     int add(int a, int b)
         return (a+b);
3. Compile
Now Compile Static Library with -shared option
   gcc -c add.c
   gcc -shared -o add.o

4. Usage of Static Library
 Here is example application uses this library.
   filename: main.c
   int main(void)
      printf("result: %d", add(1,2));
      return 0;

5. Compile Example Code
  gcc main.c -o main -L  <path where the library file is there, in our example it is> -l add
       (in last option -l add we have to specify library name. name of the library is, removing the "lib"
         from libadd. i.e. how gcc takes.)
   example: gcc main.c -o main -L /home/test/so …