how to make file link in c under unix


 
Thread Tools Search this Thread
Operating Systems Solaris how to make file link in c under unix
# 1  
Old 02-09-2009
how to make file link in c under unix

how to make link command by c language
# 2  
Old 02-10-2009
gcc <lib_file>
# 3  
Old 02-10-2009
From the link(2) manual page:
Code:
     #include <unistd.h>

     int link(const char *existing, const char *new);

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Read csv file, convert the data and make one text file in UNIX shell scripting

I have input data looks like this which is a part of a csv file 7,1265,76548,"0102:04" 8,1266,76545,"0112:04" I need to make the output data should look like this and the output data will be part of text file: 7|1265000 |7654899 |A| 8|12660000 |76545999 |B| The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies

2. HP-UX

HP-unix make file Problem

Dear Unixians, I have try to link my libraries with tuxedo that showing following errors, ] My make file few lines: .... actual linking regards, kkl (1 Reply)
Discussion started by: kkl
1 Replies

3. UNIX for Advanced & Expert Users

how to symbolic link to files on another unix box?

Hi there, Our vendor needs to have access to some files on our AIX box1, but we don't want them to have access to this box at all. We allow them to have access/logon to another AIX box2, is that possible that I create a symbolic link in box2 to point to those box1 log/config files ? How?... (1 Reply)
Discussion started by: TheGunMan
1 Replies

4. Programming

makeutility: how to get the make-file name inside of the make-file?

How I can get the current make-file name in a make-file So, if I run make with specified file:make -f target.mak is it possible to have the 'target' inside of the that 'target.mak' from the file name? (2 Replies)
Discussion started by: alex_5161
2 Replies

5. UNIX for Dummies Questions & Answers

Link error while linking a shared library in unix

Getting the following error , ld: /opt/syncsort39/lib/libsyncsort.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link. Is there any difference in the ld options in opt file while linking a 64 bit shared library ? Or is the problem because we are trying to link both 32 bit and 64... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

6. UNIX for Dummies Questions & Answers

Difference between hard link and soft link in unix

Hi All, Can any one please explain me what is the difference between hard link and soft link in UNIX. Thanks in advance Raja Chokalingam. (2 Replies)
Discussion started by: RAJACHOKALINGAM
2 Replies

7. UNIX Desktop Questions & Answers

Make file in Unix

How to make files in Unix (6 Replies)
Discussion started by: gandhevinod
6 Replies

8. Shell Programming and Scripting

Link files in unix

Can anyone say some ideas about using/creating link files (for ex., lrwxrwxrwx 1 bin bin 7 Jan 10 2001 bin -> usr/bin) in a shell script. (2 Replies)
Discussion started by: yuvasyntel
2 Replies

9. UNIX IEEE Std 1003.1-2001 (POSIX.1)

Link to the Open Group (UNIX Standards)

Click HERE to learn about The Single UNIX Specification, Version 3 Or: Here is another link to the UNIX IEEE Standard, an Open Group Technical Standard, Issue 7 Keywords UNIX® is a registered trademark of The Open Group (0 Replies)
Discussion started by: Neo
0 Replies

10. News, Links, Events and Announcements

Unix History Link

Link describe the Step by step formation of Unix http://perso.wanadoo.fr/levenez/unix/ Also: - History - Author of First Unix C Language - Unix Family research Tree - BSD and Sun History chart - Technical Comparison between Unix Diffrences (4 Replies)
Discussion started by: killerserv
4 Replies
Login or Register to Ask a Question