Sponsored Content
Top Forums Programming Why won't this compile on HPUX? Post 58256 by Perderabo on Tuesday 16th of November 2004 05:38:14 PM
Old 11-16-2004
timer_t is a long I think. It is used by mktimer(), etc.
 

10 More Discussions You Might Find Interesting

1. Programming

compile xev on HPUX 10.20 - errors

Hello, i compiled the program xev under HPUX 10.20 and there are a lot of errors like this. Can anybody help me to fix this errors? make xev cc -O xev.c -o xev /usr/ccs/bin/ld: Unsatisfied symbols: XFree (code) XKeysymToString (code) XSelectInput (code) XOpenDisplay... (1 Reply)
Discussion started by: lan
1 Replies

2. UNIX for Dummies Questions & Answers

why won't this Work?

hey programmers! 1-why won't gcc accept as an argument? i tried the recommendations on the man page of getch(),..etc. nothing worked. 2-why it won't see <iostream> && <fstream> even if i implemented the function as follow std::cout<<"..etc"<<endl; 3-after i type this code in it gives... (6 Replies)
Discussion started by: mbabeli
6 Replies

3. UNIX for Dummies Questions & Answers

HP 10.20 Won start

After I log ino the machine, a window pops up indicating that I should check that the HOSTNAME is the same in these three files /etc//rc.configd/netconf /etc/hosts /var/adm/inetd.sec How do I change the hostname in these files? Thanks, Mike h (1 Reply)
Discussion started by: hutchin
1 Replies

4. AIX

won't mount /usr...won't boot fully

Hello: NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies

5. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

6. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies

7. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

8. HP-UX

Compile krb5-appl 1.0.3 on hpux

asprintf.c: In function 'vasprintf': asprintf.c:58: error: 'SIZE_MAX' undeclared (first use in this function) asprintf.c:58: error: (Each undeclared identifier is reported only once asprintf.c:58: error: for each function it appears in.) Someone know how to fix? Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

9. HP-UX

Compile sendmail on hpux

The sendmail on hp site is too old,and still support the bugged ssl3(poodle) even if enable tlsv1. So i decide to compile sendmail by myself i use this site.config.m4 define(`confCClibsmi', `gcc -fPIC') define(`confCC',`/usr/local/bin/gcc -fPIC') define(`confOPTIMIZE', ` -O3')... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

10. UNIX for Beginners Questions & Answers

Bash script won't run because hardware won't produce display

Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Discussion started by: yelirt5
3 Replies
TIMER_CREATE(2) 					      BSD System Calls Manual						   TIMER_CREATE(2)

NAME
timer_create -- create a per-process timer (REALTIME) LIBRARY
POSIX Real-time Library (librt, -lrt) SYNOPSIS
#include <time.h> #include <signal.h> int timer_create(clockid_t clockid, struct sigevent *restrict evp, timer_t *restrict timerid); DESCRIPTION
The timer_create() system call creates a per-process timer using the specified clock, clock_id, as the timing base. The timer_create() sys- tem call returns, in the location referenced by timerid, a timer ID of type timer_t used to identify the timer in timer requests. This timer ID is unique within the calling process until the timer is deleted. The particular clock, clock_id, is defined in <time.h>. The timer whose ID is returned is in a disarmed state upon return from timer_create(). The evp argument, if non-NULL, points to a sigevent structure. This structure, allocated by the application, defines the asynchronous noti- fication to occur when the timer expires. If the evp argument is NULL, the effect is as if the evp argument pointed to a sigevent structure with the sigev_notify member having the value SIGEV_SIGNAL, the sigev_signo having a default signal number, and the sigev_value member having the value of the timer ID. The implementations supports a clock_id of CLOCK_REALTIME or CLOCK_MONOTONIC. If evp->sigev_notify is SIGEV_THREAD and sev->sigev_notify_attributes is not NULL, if the attribute pointed to by sev->sigev_notify_attributes has a thread stack address specified by a call to pthread_attr_setstack() or pthread_attr_setstackaddr(), the results are unspecified if the signal is generated more than once. RETURN VALUES
If the call succeeds, timer_create() returns zero and updates the location referenced by timerid to a timer_t, which can be passed to the per-process timer calls. If an error occurs, the system call returns a value of -1 and the global variable errno is set to indicate the error. The value of timerid is undefined if an error occurs. ERRORS
The timer_create() system call will fail if: [EAGAIN] The calling process has already created all of the timers it is allowed by this implementation. [EINVAL] The specified clock ID is not supported. [EFAULT] Any arguments point outside the allocated address space or there is a memory protection fault. SEE ALSO
clock_getres(2), timer_delete(2), timer_getoverrun(2), siginfo(3) STANDARDS
The timer_create() system call conforms to IEEE Std 1003.1-2004 (``POSIX.1''). HISTORY
Support for POSIX per-process timer first appeared in FreeBSD 7.0. BSD
January 12, 2009 BSD
All times are GMT -4. The time now is 08:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy