In this chapter we will learn all the functions used on strings in C - gets(), fgets(), getline(), getdelim(), getchar(), puts(), putchar(), strlen() in C language.
I changedadd_buff()to updatebh_spacein the event that the string in the buffer is shortened bybh_indexcharacters. This means ifstart_stuff()has just been called,add_buff()will not create a new buffer. To preserve current behaviour I added new (TRUE/FALSE) fieldbh_create_newblocktostruct...