Sponsored Content
Full Discussion: Sink or Swim
Top Forums UNIX for Dummies Questions & Answers Sink or Swim Post 303 by divern2deep on Tuesday 21st of November 2000 10:13:51 AM
Old 11-21-2000
Question

My background as a nuclear engineer has provided me many opportunities to interact with computing. I have now decided to make the career change into the wonderful world of UNIX since my industry continues to die a slow death. Can my vague college experience (beginner at best) using UNIX suffice to get my foot in the door of a programming company while I quickly come up to speed using the books both of you (PxT and Neo) recommended? I mean you have to start somewhere in the computing industry.

I am looking at an offer to do quality assurance work using UNIX and Oracle for a company. The work would require me to work by myself writing code to test new products. I am very good at developing tests as a quality assurance engineer in the nuclear industry, but I don't know enough of the commands in UNIX to work with the language. I have not written any scripts, although I do know what they are. I am willing to learn through the discipline way both of you recommend (i.e. no shortcuts). My question now becomes, is it possible to learn as you go on the job and still keep the job? Or should I decline the offer, read and study more until I get more comfortable programming, and then re-apply later? Both of you gentleman say the only way to learn is trial by fire, but I cannot afford to accept a job and then lose it because of incompetance. (Family, etc.)

Please give me your recommendation for a humble beginning of someone who wants to get their foot in the door. I really appreciated your recent threads on your humble beginnings.

Treading Water
 

We Also Found This Discussion For You

1. Solaris

SunFire V240 CPU Heat Sink Replacement

I got a replacement Heatsink and Fan unit, but the OEM unit has the SUN Thermal Interface Material (TIM) already on the heatsink matting surface. Because mine is used it does not have the TIM. Also there are 2 different TIM material SUN used based on the Processor (1-1.28GHz uses a glue backed... (1 Reply)
Discussion started by: danneskjold0809
1 Replies
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)
All times are GMT -4. The time now is 07:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy