4 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to put stty columns 140 in .profile to set column width to 140 so I don't have to manully do it every time.
My main goal is to avoid seeing "Terminal too wide" message whenever I try to use vi editor in full screen.
I am on korn shell
echo $SHELL
/bin/ksh
So even... (8 Replies)
Discussion started by: pat_pramod
8 Replies
2. Programming
i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h ..
i have also included them using ..
#include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h"
... (2 Replies)
Discussion started by: upvan111
2 Replies
3. UNIX for Dummies Questions & Answers
I've just installed vsftpd on Ubuntu 9.04 server.
I can access using my ftp client, however I cannot use mkdir either upload files.
I get the following errors: `Error -140: remote mkdir failed`
My configuration file has:
write_enable = YES
Is there some other parameter I should... (2 Replies)
Discussion started by: aneuryzma
2 Replies
4. AIX
I've installed AIX 5.1 on a 43p-140, but am unable to log in. At no point in the install did it ask me for a root password. When it boots to the console prompt, I enter "root" as a username, and then after 1 second it cycles right back to another root prompt.
I am accessing the 43p-140... (4 Replies)
Discussion started by: akbar
4 Replies
LEARN ABOUT HPUX
pthread_mutex_getprioceiling
pthread_mutex_getprioceiling(3T) pthread_mutex_getprioceiling(3T)
NAME
pthread_mutex_getprioceiling(), pthread_mutex_setprioceiling() - get or set the prioceiling of a mutex.
SYNOPSIS
PARAMETERS
mutex Pointer to the mutex whose prioceiling attribute is to be set/retrieved.
prioceiling
This parameter either points to the memory location where the prioceiling attribute of mutex is to be returned (get func-
tion) or specifies the new value of the prioceiling attribute for mutex (set function).
old_ceiling
This parameter points to the memory location where the old prioceiling attribute of mutex is to be returned (set function
only).
DESCRIPTION
The function will first lock mutex. If the mutex is currently locked, the calling thread will block until the mutex can be locked. Once
the mutex has been locked, the prioceiling attribute of mutex will be changed to the value specified in the prioceiling parameter and mutex
will be unlocked. The old priority ceiling for the mutex will be returned in old_prioceiling.
The function returns the current value of the prioceiling attribute for mutex in the prioceiling parameter.
Be sure to check for the definition of before using these functions. Not all systems will support these functions.
RETURN VALUE
Upon successful completion, and return zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the and functions return the corresponding error number:
is not defined and these functions are not supported.
For each of the following conditions, if the condition is detected, the and functions return the corresponding error number:
The priority value
prioceiling is not a legal value.
mutex is not a valid mutex.
The prioceiling protocol is not supported for mutexes.
The caller does not have the appropriate privileges to
change priority ceiling for mutex.
mutex parameter points to an illegal address.
AUTHOR
and were derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
pthread_create(3T), pthread_mutex_init(3T), pthread_mutexattr_setprioceiling(3T), pthread_mutexattr_getprioceiling(3T),
pthread_mutex_lock(3T), pthread_mutex_trylock(3T), pthread_mutex_unlock(3T).
STANDARDS CONFORMANCE
Pthread Library pthread_mutex_getprioceiling(3T)