xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/closebad.awk (revision 0ae0ab6f6ac7a567d495b1daad2f6e229d097a21)
1BEGIN {
2	f = "/no/such/file/1"
3	print (getline junk < f)
4	print close(f)
5	f = "/no/such/file/2"
6	print close(f)
7}
8