07-21-2001
Please search the forums for this topic... It is brought up over and over, and the answer is a matter of preference. Besides, UNIX as an operating system ceases to exist; all that's left are the systems that follow the look-and-feel of UNIX.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Aahhhh!! I am so much frustrated trying to recover my superuser account. I need help!!! Please can anyone tell me how to recover a the root account? Thank you in advance. (1 Reply)
Discussion started by: pnoi_blitz
1 Replies
2. UNIX for Dummies Questions & Answers
Could anyone explain if Linux is Unix? I'm a newbie here, just installed Oracle 8i on Redhat 7.2. (4 Replies)
Discussion started by: Prettyman
4 Replies
3. Answers to Frequently Asked Questions
Unix is the name of an operating system. And unix is a registered trademark. This is what makes things murky.
One of my favorite books is The Design and Implementation of the 4.3BSD UNIX Operating System. That book is out of print, but a newer book is available: The Design and Implementation... (0 Replies)
Discussion started by: Perderabo
0 Replies
4. Linux
Hey there, new to the forum :)
Im currently at university studying UNIX, but i need some help. Can someone help me out with operational / technical differences between the two? Even if You just give me some topics i can go research them...
much appreciated
Josh (1 Reply)
Discussion started by: kiwi_bloke
1 Replies
5. UNIX for Dummies Questions & Answers
quick question that may bring long answers :)
I am currently looking into porting an existing Recital system from Unix to Linux. possibly not a good idea :) Basically;
Would i be better shooting myself in the foot now? or
do you know if there would be a fair expense due to buying Linux and the... (0 Replies)
Discussion started by: Kuz972
0 Replies
6. UNIX for Dummies Questions & Answers
hi all,
i have a linux operating system...can i practice unix commands on linux system....there is any changes in the commands.....can any one post some meterial..
thanks (1 Reply)
Discussion started by: madhu_msinus@ya
1 Replies
7. UNIX for Dummies Questions & Answers
why would one choose unix over linux? (2 Replies)
Discussion started by: lizzy
2 Replies
8. Fedora
I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
9. Post Here to Contact Site Administrators and Moderators
We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies
10. What is on Your Mind?
Forum Moderation @UNIX.com | The UNIX and Linux Forums
https://youtu.be/WGwgibE4Rq0
Also note: In the video I mentioned removing legacy menu items in the ModCP which are unused. I have already "CSS'ed out" the unused menu items:
... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT OSF1
setservent
setservent(3) Library Functions Manual setservent(3)
NAME
setservent, setservent_r - Open or rewind the services file
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <netdb.h>
void setservent( int stay_open);
[Tru64 UNIX] The following function is supported in order to maintain backward compatibility with previous versions of the operating sys-
tem. int setservent_r( int stay_open, struct servent_data *serv_data);
[Tru64 UNIX] The following function is supported in order to maintain backward compatibility with previous versions of the operating sys-
tem.
int setservent( int stay_open);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
setservent(): XNS4.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Indicates when to close the services file. Specifying a value of 0 (zero) causes the file to be closed after each call to the getservent()
function. Specifying a nonzero value allows the file to remain open after each call. [Tru64 UNIX] Points to a structure where setser-
vent_r() stores information about the services file.
DESCRIPTION
The setservent() (set service entry) function opens either the local /etc/services file or the NIS distributed services file, and sets the
file marker at the beginning of the file. To determine which file or files to search, and in which order, the system uses the switches in
the /etc/svc.conf file.
NOTES
[Tru64 UNIX] The setservent_r() function is the reentrant version of the setservent() function. It is supported in order to maintain
backward compatibility with previous versions of the operating system. Upon successful completion, the setservent_r() function returns a
value of 0 (zero). Otherwise, it returns a value of -1.
[Tru64 UNIX] Before calling the setservent_r() function for the first time, you must zero-fill the servent_data structure. The netdb.h
header file defines the servent_data structure.
RETURN VALUES
Current industry standards for setservent() do not define return values.
[Tru64 UNIX] Upon successful completion, the setservent() function included for backward compatibility returns a 1 for success. Other-
wise, it returns a value of 0 (zero).
ERRORS
Current industry standards for setservent() do not define error values.
[Tru64 UNIX] If any of the following conditions occurs, the setservent_r() function sets errno to the corresponding value: If serv_data is
invalid.
In addition, the setservent() and setservent_r() functions can fail to open the file. In this case, errno will be set to the failure.
FILES
Contains service names. The database service selection configuration file.
RELATED INFORMATION
Functions: endservent(3), getservbyname(3), getservbyport(3), getservent(3).
Files: services(4), svc.conf(4).
Networks: nis_intro(7).
Standards: standards(5). delim off
setservent(3)