Sponsored Content
Top Forums UNIX for Dummies Questions & Answers su command difference between unix and linux Post 302400349 by pludi on Wednesday 3rd of March 2010 02:44:53 AM
Old 03-03-2010
Have you checked the man page for su? Because it doesn't say anything there about a -l switch.

The -l that Linux supports is something borrowed from BSD, and just doesn't appear in any non-BSD inspired system (like AIX or HP-UX)
 

9 More Discussions You Might Find Interesting

1. Programming

Difference Between Unix and Linux Envoriment

This may/may not be a long answer to a short question. I am learning the C programming language at home.I have seen some good books on the UNIX programming enviroment.However, there were a few books that hinted towards the Linux programming enviroment.Is there any difference between the two as... (1 Reply)
Discussion started by: perrylx
1 Replies

2. UNIX for Dummies Questions & Answers

difference between unix and linux?

Ok, I'm confused. Can someone answer these (stupid) questions please for me? 1. What is the difference between unix and linux? 2. Is FreeBSD a unix distribution? 3. If not, then what is Unix? I actually gone to Unix.com because I thought this is it's official website where I could download... (1 Reply)
Discussion started by: RellioN
1 Replies

3. UNIX for Dummies Questions & Answers

Difference between UNIX and Linux

OK, I've used various versions of UNIX(Solaris, HPUX, etc..) over the years. Now the organization I work for is leaning towards more Linux based systems(Redhat, Suse, etc..) I do see differences in in comands and how to accomplish basic adminstration, but nothing mind blowing. So, what is it... (5 Replies)
Discussion started by: pbonilla
5 Replies

4. UNIX for Advanced & Expert Users

What is the difference between Unix & linux

:confused: Hi All Can anyone help me in finding the answer of the question mentioned below. What is the difference between Unix & linux ? Thanks in Advance to all CSaha (1 Reply)
Discussion started by: csaha
1 Replies

5. AIX

difference between AIx and Linux and Unix

Sir , Can any body explain the difference between linux , Unix and AIx on command Reference all the command on AIx and unix is same or not please reply (2 Replies)
Discussion started by: arif185
2 Replies

6. Programming

Difference between cp and mv linux command

Hi, I am facing one problem only with mv command not with cp command. I have a test program #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/mount.h> #include <fcntl.h> #include <errno.h> int sync_file(char *file) { FILE *fp=NULL;... (6 Replies)
Discussion started by: dharshini123
6 Replies

7. Shell Programming and Scripting

difference in unix vs. linux sort

Hi, I am using some codes that have been ported from unix to linux, and now the sorting no longer results in the desired ordering. I'm hoping to find a way to mimic the unix sort command in linux. The input file is structured the following: $> cat file.txt... (6 Replies)
Discussion started by: aj.schaeffer
6 Replies

8. UNIX for Dummies Questions & Answers

difference between unix and linux

Hi I am new to linux I have dout waht is the difference between UNIX and LINUX Is there any soft for insatallation for UNIX OS Thanks (0 Replies)
Discussion started by: sanjaya
0 Replies

9. UNIX for Dummies Questions & Answers

Difference between UNIX and Linux

hi experts please tell me the real difference between unix and linux at kernel structure (1 Reply)
Discussion started by: linurag
1 Replies
DLADDR(3)						   BSD Library Functions Manual 						 DLADDR(3)

NAME
dladdr -- find the image containing a given address SYNOPSIS
#include <dlfcn.h> int dladdr(const void* addr, Dl_info* info); DESCRIPTION
The dladdr() function queries dyld (the dynamic linker) for information about the image containing the address addr. The information is returned in the structure specified by info. The structure contains at least the following members: const char* dli_fname The pathname of the shared object containing the address. void* dli_fbase The base address (mach_header) at which the image is mapped into the address space of the calling process. const char* dli_sname The name of the nearest run-time symbol with a value less than or equal to addr. void* dli_saddr The value of the symbol returned in dli_sname. The dladdr() function is available only in dynamically linked programs. ERRORS
If an image containing addr cannot be found, dladdr() returns 0. On success, a non-zero value is returned. If the image containing addr is found, but no nearest symbol was found, the dli_sname and dli_saddr fields are set to NULL. SEE ALSO
dyld(3), dlopen(3) HISTORY
The dladdr() function first appeared in the Solaris operating system. AUTHORS
Mac OS X 10.3 incorporated the dlcompat package written by Jorge Acereda <jacereda@users.sourceforge.net> and Peter O'Gorman <ogor- man@users.sourceforge.net>. In Mac OS X 10.4, dlopen was rewritten to be a native part of dyld. This man page was borrowed from FreeBSD and modified. BUGS
This implementation is almost bug-compatible with the Solaris implementation. The following bugs are present: o Returning 0 as an indication of failure goes against long-standing Unix tradition. BSD
September 24, 2004 BSD
All times are GMT -4. The time now is 02:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy