02-20-2018
Hello James,
you can re-write this into a function by passing the open office version number as an argument to it and re-use it for any version.
we would like to encourage you to re-write the script and let us know, if you face any problems on the event of re-writing.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can we install new .ttf (Arial,Times new roman etc,) font in linux open office.org? (1 Reply)
Discussion started by: pcsaji
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have been asked to automate the package installation through shell script.
I have 10 packages to be installed and in that 4 packages requires additional DB information(Host Name, Credentials etc) to be passed and for remaining 6 packages i need to provide the "Yes" - "No" .
I have... (2 Replies)
Discussion started by: muhilan.r
2 Replies
3. Red Hat
Dear Team,
Any body who have idea to down load the open office package for Redhat linux 5.0. Please send me the URL. so that i can easily down load from net. (2 Replies)
Discussion started by: sahu.tapan
2 Replies
4. UNIX for Advanced & Expert Users
Not sure if this is the best place to post, but at this point my question seems to be an advanced topic.
I'm curious why it is that the "office phone" column of finger does not seem to report anything even when data is entered in the GECOS field of /etc/passwd. I am using Ubuntu 8.10, kernel... (1 Reply)
Discussion started by: gratuitous_arp
1 Replies
5. Shell Programming and Scripting
Hello All,
I need to execute around 15 queries after which all data should come in Excel format.
Executing 15 queries is not a problem.
Problem is how to present/put data in excel.
kindly suggest me how to start, what to study or what should i do.
thanks, (1 Reply)
Discussion started by: shubham8787
1 Replies
6. Emergency UNIX and Linux Support
Hi all
I am receivng following error while running openoffice on linux system
Please suggest and linux comman which can remove this error:
(I) x.org loaded video driver of...
(II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
(==) Depth 24 pixmap format is 32 bpp
(III) ... (2 Replies)
Discussion started by: manigrover
2 Replies
7. Red Hat
NEED recommendation and assistance on getting open office source installation on redhat 6 linux .
I want an open office on redhat 6 linux server . Dont have root access
Can someone guide me ? (0 Replies)
Discussion started by: ajayram_arya
0 Replies
8. Linux
Need Assistance in finding office open source for REDHAT linux. Need to be compiled as non-root user . If possible I also need instructions for installation. (6 Replies)
Discussion started by: ajayram_arya
6 Replies
9. Solaris
It's been a few years since this topic was last asked and answered.. curious whether anyone knows if the landscape has improved?
looking for a more modern release of OpenOffice / LibreOffice / etc than the OOo-3.3 version mentioned in earlier posts from 2012. Would prefer not to compile from... (1 Reply)
Discussion started by: Yeaboem
1 Replies
LEARN ABOUT DEBIAN
pthread_rwlock_wrlock
pthread_rwlock_wrlock(3C) pthread_rwlock_wrlock(3C)
NAME
pthread_rwlock_wrlock, pthread_rwlock_trywrlock - lock or attempt to lock read-write lock object for writing
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ]
#include <pthread.h>
int pthread_rwlock_wrlock(pthread_rwlock_t *rwlock);
int pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock);
The pthread_rwlock_wrlock() function applies a write lock to the read-write lock referenced by rwlock. The calling thread acquires the
write lock if no other thread (reader or writer) holds the read-write lock rwlock. Otherwise, the thread blocks until it can acquire the
lock.
The pthread_rwlock_trywrlock() function applies a write lock like the pthread_rwlock_wrlock() function, with the exception that the func-
tion fails if any thread currently holds rwlock (for reading or writing).
Writers are favored over readers of the same priority to avoid writer starvation. See pthread_rwlock_rdlock(3C).
Results are undefined if any of these functions are called with an uninitialized read-write lock.
If a signal is delivered to a thread waiting for a read-write lock for writing, upon return from the signal handler the thread resumes
waiting for the read-write lock for writing as if it was not interrupted.
If successful, the pthread_rwlock_wrlock() function returns 0. Otherwise, an error number is returned to indicate the error.
The pthread_rwlock_trywrlock() function returns 0 if the lock for writing on the read-write lock object referenced by rwlock is acquired.
Otherwise an error number is returned to indicate the error.
The pthread_rwlock_wrlock() function will fail if:
EDEADLK The current thread already owns the read-write lock for writing or reading.
The pthread_rwlock_trywrlock() function will fail if:
EBUSY The read-write lock could not be acquired for writing because it was already locked for reading or writing.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
pthread_rwlock_init(3C), pthread_rwlock_unlock(3C), pthread_rwlockattr_init(3C), pthread_rwlock_rdlock(3C), attributes(5), standards(5)
23 Mar 2005 pthread_rwlock_wrlock(3C)