Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.
Quick
- ($a, $b....) = unpack("A2A7...", $packed)
- push( array, list )
Friday, February 14, 2014
gcc link option
Option order is significant with gcc - if you want to link, eg, to the psapi library, you must not only use -l psapi but it must come after your source code in the command line:
gcc f:\src\c\ex-proclist.c -l psapi
(I picked that up from stackoverflow but it wouldn't let me vote it up)