How to configure, VS Code to develop linux c program under Mac to prompt variables defined by proprietary libraries under Linux (such as epoll)?

  1. I use vs code to write Linux c programs under Mac, and automatically Synchronize to my remote Linux server machine to compile and run tests.
  2. because you want to use the < epoll.h > library, the various constant definitions in it are not prompted under vs code, or the constant is not defined, which is very uncomfortable. Is there any way for Vscode to recognize the epoll library under Mac?

clipboard.png

Menu