6 of 7 added 147 characters in body

C, 27 25


Thanks @Titus for knocking off 2 bytes

And for my non-competing 16 byte solution in C, go here: http://codegolf.stackexchange.com/a/111330/16513

^I say non-competing because the error code could possibly depend on your compiler, Also note I'm using GCC in that solution. Also I'm not certain if it breaks rule 1 or not, I think it probably does so I went ahead and labeled it non-competing