开发者

How to reach Linux API [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I am new here.

I want to ask about Linux API I have used winapi, win32api and their libraries like user32.dll

Is there LinuxAPI and how can I reach it. and I will be grateful if 开发者_运维问答there is an example in Ubuntu.


Linux is a lot more loosely coupled as a result of the "Tools not Policy" philosophy. The kernel itself exposes a bunch of system calls available through assembly code or the slightly more convenient C library. Everything else will be fully dependent on the stack of technologies that form your particular distribution. The short answer is that there exists no federated API like in windows rather numerous API's cobbled together to form the User Experience.


Linux is only a kernel whereas Windows is both a kernel and a GUI.

Linux should generally be accessed through the standard C library. For doing GUI things, look into Qt, GTK, wxWidgets, or any of several others. If you're a sucker for punishment, you can use the X11 interface directly. :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜