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