|
|
Subscribe / Log in / New account

C library system-call wrappers, or the lack thereof

C library system-call wrappers, or the lack thereof

Posted Nov 15, 2018 14:56 UTC (Thu) by cortana (subscriber, #24596)
In reply to: C library system-call wrappers, or the lack thereof by Cyberax
Parent article: C library system-call wrappers, or the lack thereof

I have a simple program that uses ages-old epoll/read/print functions.

If you're missing the declaration of these functions, copy them into your source code.

If you're unable to link, use .symver to tell the linker that "when I say epoll_create, give me epoll_create1@GLIBC_2.9 rather than the default".


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds