C util library
Find a file
2022-05-03 07:38:26 +03:00
.gitignore initial commit 2022-04-16 16:22:31 +03:00
array.c bitmap 1 2022-04-19 23:39:51 +03:00
array.h array_insert, array_remove 2022-04-18 21:11:09 +03:00
bitmap.c bitmap 1 2022-04-19 23:39:51 +03:00
bitmap.h bitmap_test 2022-04-20 15:52:31 +03:00
CMakeLists.txt struct 1 2022-05-03 01:13:03 +03:00
cutil.c implement endiannes run-time detection 2022-04-28 18:26:15 +03:00
cutil.h implement compile-time architecture detection, bus width detection 2022-04-28 17:34:07 +03:00
cutypes.h redefine architecture list as macro so therefore it can be used in preprocessor expressions. implement hardware byte-swapping, detect compile-time hardware capabilties to do that. 2022-04-29 06:36:01 +03:00
endian.c implement functions to convert from host byte-order to little-endian or big-endian, convert to network order which defined as CU_NETWORK_ORDER. 2022-04-29 08:07:37 +03:00
endian.h implement functions to convert from host byte-order to little-endian or big-endian, convert to network order which defined as CU_NETWORK_ORDER. 2022-04-29 08:07:37 +03:00
list.c cutil redirect std functions to cu_ holders, array 4 2022-04-17 21:04:53 +03:00
list.h list_at 2022-04-16 16:44:10 +03:00
README.md implement functions to convert from host byte-order to little-endian or big-endian, convert to network order which defined as CU_NETWORK_ORDER. 2022-04-29 08:07:37 +03:00
struct.c struct & value 4 2022-05-03 07:38:26 +03:00
struct.h struct & value 4 2022-05-03 07:38:26 +03:00
test.c struct 2 2022-05-03 03:29:55 +03:00

cutil

C library to implement

  • data structures like linked-lists, vector arrays, maps
  • bitmaps & bitwise operations
  • architecture-dependent & hardware features
  • byte-order endianness detection, byte-swapping
  • other stuff