Sponsored Content
Full Discussion: System programming in C
Top Forums Programming System programming in C Post 302473791 by Praveen_218 on Monday 22nd of November 2010 11:28:10 AM
Old 11-22-2010
Not a big issue ...

First of all, what you have mentioned here (i.e. all of *.h) files are the header files and not the libraries.

Secondly, whatever API you want to use, which are available in FreeBSD; just do the following command to search the appropriate header file in Linux (I'm talking general and not just for the header files you are mentioning here):

Code:
grep -nr <function_API_name> /usr/include/*

Where <function_API_name> is the actual function name you think available in a header file (.h file) under FreeBSD but not found by you under Linux.

This command will give you the header file containing the decleration of such function. You just need to include this header file now.
 

10 More Discussions You Might Find Interesting

1. Programming

System Programming

Hi all, I am working on a c program (in a unix environment) making system calls. My program makes references to POSIX, _POSIX_SOURCE 1. When trying to compile the c program, I received a message "Language optional software package not installed." I am not sure if this message refers to... (3 Replies)
Discussion started by: rachael
3 Replies

2. Programming

unix system programming

hey there i have to execute commands that are written on the command line in unix. i have already separated the commands into tokens but now im stuck with the problem of how to actually execute those commands. eg: lets say the user entered " ls -l" to list all the files in a directory ... (1 Reply)
Discussion started by: mile1982
1 Replies

3. Programming

System programming book

please tell me the best book for Unix's System programming..... so that i become expert in System programming.I have completed shell programming and i know C programming in Unix. please tell me which book i should prefer... -ajit (1 Reply)
Discussion started by: ajit_gupta
1 Replies

4. Programming

System programming in C

Hi there, Am very very interested in system level programming in C???? Please give me a good site or a sample program to start with.. will be of a great help to me.. Thanks, Nisha (7 Replies)
Discussion started by: Nisha
7 Replies

5. Programming

system Programming using JAVA.

Dear Sir, How to write Code using JAVA technology for system programming ? I want to develop a new compiler for my own language. thanks in advance roy (1 Reply)
Discussion started by: swapan
1 Replies

6. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

7. Programming

What is Unix System Programming???

Hi friends, Hope u r doing well. I really find the phrase, "Unix System Programming" very very cool, I don't know the reason, but it since I love UNIX, I want to do system programming in unix. Could you please tell me what is really the meaning of unix system programming. I have a couple of books... (5 Replies)
Discussion started by: gabam
5 Replies

8. Programming

c programming system call

newPerm = oldPerm & ~0100; where oldPerm holds the value of st_mode from the system call stat(). When I try and compile every line where ive attempted to do these operations gives the warning "parameter names without declaration types in function declaration". what could be the problem? the... (2 Replies)
Discussion started by: bjhum33
2 Replies

9. Shell Programming and Scripting

System programming with Unix

Hi All I want to learn System programming with the help of Unix. System Programming mean to say 1) Playing with the memory of computer 2) Designing some graphical units Hope you understand... (2 Replies)
Discussion started by: parthmittal2007
2 Replies

10. UNIX for Dummies Questions & Answers

From iOS programming to Linux system programming

Hello. I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations: 1. Linux and iOS are UNIX-like systems, POSIX compliant. 2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 Replies
GJAVAH(1)								GNU								 GJAVAH(1)

NAME
gjavah - - generate header files from Java class files SYNOPSIS
gjavah ... DESCRIPTION
The gjavah program is used to generate header files from class files. It can generate both CNI and JNI header files, as well as stub implementation files which can be used as a basis for implementing the required native methods. OPTIONS
-d DIR Set output directory. -o FILE Set output file (only one of -d or -o may be used). -cmdfile FILE Read command file. -all DIR Operate on all class files under directory DIR. -stubs Emit stub implementation. -jni Emit JNI stubs or header (default). -cni Emit CNI stubs or header (default JNI). -verbose Set verbose mode. -force Output files should always be written. Class path options: -classpath PATH Set the class path. -IDIR Add directory to class path. -bootclasspath PATH Set the boot class path. -extdirs PATH Set the extension directory path. Standard options: -help Print help text, then exit. -version Print version number, then exit. -JOPTION Pass argument to the Java runtime. BUGS
SEE ALSO
javac(1), ... AUTHOR
0.98 2010-07-05 GJAVAH(1)
All times are GMT -4. The time now is 06:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy