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