|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
Test small C program in BSD OS
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. |
|
|
Similar Threads | ||||
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 |