The word "avail" is correct and usable in written English. You can use it to describe something that is of use or help, or to refer to something being available. For example: "The library had many books available to avail myself of.".
But it was to no avail.
But to little avail.
But it was to no avail and he eventually decided against mounting a re-election bid.
The consultation period has been laid out, that includes the public hearings, and we will avail of all that".
All this, so far, has been to no avail.
Bournemouth argued with the decision, but to no avail.
Bishop and Cooper both argued that the goaltender was interfered with – something that, starting next season can be challenged by coaches – but to no avail.
Ludwig does not simply clarify my doubts with English writing, it enlightens my writing with new possibilities
Simone Ivan Conte
Software Engineer at Adobe, UK