EDFlib is a programming library for C and C++ for reading and writing EDF, EDF+, BDF, and BDF+ files.