I am porting some code written in Java to C11. The Java code uses BitSet to flip in flip bits in a vector. I know there is corresponding BitSet for c++, but I am not sure if there something similar available for c11. I have to use c11 per requirements. I am not too familiar with the newer set of functions in c11, as most of my previous code have either been in ANSI-C or C99.
Is something like this available in C (C11) or do I need to write my own function that maps to a memory group and then uses bit operators?