Linux coding in C Language

C Language programs:

  1. Array Programs
  2. Input & Output:
    1. what is use of %n in printf
    2. How to check return value of sscanf
    3. Skip string or char or int using format
  3. Perror & strerror, convert perror number into a string
  4. Break statement on nested loop
  5. Data types
    1. Typedef Sample 
    2. Data type of pidt is int
    3. sizeof format zu or u
    4. Difference between uint32t vs unsigned
    5. Restrict keyword
  6. Convert error noerrno into string value
  7. Signal:
    1. Signal Handler using signal commad
    2. Send signal with argument integer value
  8. static use on other file compile together throws error 
  9. Linked List
    1. Linked list add delete display
  10. bitwise operator & example
  11. File:
    1. File lock using fcntl
  12. Build & makefile
    1. How to compile 32 bit binary on 64 bit
    2. Makefile:
      1. Makefile variable assign difference := vs =
      2. Makefile variable assign difference_ ?= vs =

Advance Program:

  1.  stack function argumen local variable
  2. what does _r suffix mean

Debug Utilities:

  1. how-to-use-gprof-tool
  2. how-to-use-gprof-to-generate-gmonout
  3. Calculate the elapsed time of particular block of code in C
  4. instead of print write data to file


Utilities:

  1. checks if specified ip is multicast IP
  2. convert string to mac address hh format

Library calls:

OpenSource Library:

C programs in Kernel:


Environment Eg: vim, cscope, other tools:

  1. commands tool for working in C
  2. vim editor tips

No comments:

Post a Comment