Test small C program in BSD OS
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:
Download ZIP archive with source code:
View source code:
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
|Thread||Thread Starter||Forum||Replies||Last Post|
|Small dmesg annoyance v10 ...||jb_daefo||FreeBSD Ports and Packages||0||3rd January 2015 04:16 PM|
|Small MPLS Test Network Built With OpenBSD||J65nko||News||1||8th September 2013 07:40 PM|
|firewalling with a small soekris appliance||wesley||OpenBSD Security||2||6th June 2011 05:29 PM|
|small guide on mutt & fdm||qmemo||Guides||0||17th May 2011 10:54 PM|