Write a C program which writes string (A) with context of "This is the beginning of a file" to a file named hello. then asks the user to key-in a string (B) and write the string to the end of file. This program should have a hole of 65 bytes between the two strings. Also, asks the user to key-in another string (C) of no more than 20 characters, the string should be inserted in-between the two existing strings and there should be 15 empty bytes between string (A) and string (C). Usage: position Your program should consider and react properly to the system calls failures . - Use system calls like open, perror, lseek, close, write, and etc. - Use include files like fcntl.h, uio.h, types.h, stdio.h, stdlib.h
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
This must run on a basic Unix system. Must be written in standard C, no C++