C Programming Homework.
Write a C program that opens a file for read/write (O_RDWR).
Write an "A" over the first character and last character.
Use lseek to move to the end of the file before writing the last character.
You do not even have to read the file.
Command guide: look for open, read, lseek, and write and getenv