
This function reads from a file descriptor one line at a time, handling buffer memory manually.
📦 Features Handles multiple file descriptors Uses static variables to maintain buffer state between calls Works with arbitrary buffer size defined by BUFFER_SIZE