KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ kdb version 4.0 changes to port? Reply To: kdb version 4.0 changes to port?

  • rocuinneagain

    Member
    April 10, 2024 at 4:33 pm

    What is the definition of handle_close?

    Trying to close a handle which is already closed will throw that error.

    Since you call exit 0 above the handle will be closed by the process exiting.

    q)hclose 5 //Success first time

    q)hclose 5 //Fails as 5 no longer exists, was closed above

    'close. OS reports: Bad file descriptor

    [0] hclose 5