The Force Awakens: A Jedi’s Guide to Developing Postgres Extensions in C

Greetings, fellow Jedi builders! As my present work at Bitnine includes totally on postgreSQL extension growth, I’ve determined to doc somethings that I confronted as a novice which are to be prevented to smoothen your studying journey as we embark on an exciting journey to discover the magical world of extension growth. So, preserve your […]

A simple program to detect memory leak in our C program

At any time when we program in a language resembling C/C++ now we have to handle our reminiscence ourselves, there is no such thing as a strategy to free unused reminiscence robotically as we get in different languages like Python, Java, and so on. Typically we write applications the place we depart reminiscence leaks, leading […]

Ways to get and set environment variables in C

On this article I’ll focus on a few of simplest methods to entry atmosphere variables in C language programming. Method 1 On this methodology we merely used the environ variable by extending it utilizing extern key phrase. Code #embody <stdio.h> // https://man7.org/linux/man-pages/man7/environ.7.html extern char **environ; int essential(int argc, char **argv) { // checklist out all […]