As the guys said, there is no such thing in C/C++. To do graphics in C, you need to rely on an external library, which you probably don't want to do, since you're saying you prefer "linux-based functions".
Unfortunately, accessing graphics in Linux only through the libraries that come with the OS is very complex and your program wouldn't be portable to other systems. (If you want to do this anyway, you may want to read about the Linux linear framebuffer or about X).
What I think is the closest solution to what you ask is that you get a small library with simple primitives. I think SVGALib is something like that: http://www.svgalib.org/
I haven't used it, but for what I read, it's kind of similar to the graphics.h that used to come with Turbo/Borland C++. For example, you can do this with SVGALib:
#include <stdlib.h>
#include <vga.h>
int main(void)
{
vga_init();
vga_setmode(G320x200x256);
vga_setcolor(4);
vga_drawpixel(10, 10);
sleep(5);
vga_setmode(TEXT);
return EXIT_SUCCESS;
}
There you can see how to set a mode. I'm pretty sure it'll support 32bits too :)