What is the meaning of errno 512 ERESTARTSYS?

Solution Verified - Updated -

Issue

  • What is the meaning of errno 512 ERESTARTSYS?
  • The errno after calling recvmsg() has 0 or 512
  • Customer's system use return value from recvmsg() to check whether system closed with appropriate flow or had communication problem

Environment

  • Red Hat Enterprise Linux
  • Socket using recv() family of system calls including recvfrom() or recvmsg()

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content