Hello.
I've written small program in C language.
This program copies specified part of source file and saves it to destination file.
I have GNU/Linux OS installed on my computer.
Program works fine in Linux.
It also works with big files (size >= 2 GiB) in 64-bit Linux.
Help me please to test if program works in BSD OS (FreeBSD, NetBSD, OpenBSD),
if you have this OS installed on your computer.
Instruction on program usage and how to build it from source:
https://gitlab.com/open_source/partcp
Download ZIP archive with source code:
https://gitlab.com/open_source/partc...zip?ref=master
View source code:
https://gitlab.com/open_source/partc...aster/partcp.c
Program usage example:
I want to copy 1234 bytes from file "source.bin" starting at offset 5678.
Result must be saved to file "destination.bin".
I will use this command:
partcp source.bin 5678 1234 destination.bin
Thank you.