xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/closebad.awk (revision 8a2b682e57a046b828f37bcde1776f131ef4629f)
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