View Single Post
  #5   (View Single Post)  
Old 13th July 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
Join Date: Apr 2008
Posts: 537

as bsdfan666 said u_char is defined in /usr/include/sys/types.h so if you want to use u_char datatype then you need to add #include <sys/types.h> to your program.

sys/types.h defines many system data types to hide the implementation details from the programmer.

btw, why not just use unsigned char?
Reply With Quote