Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lock(2) [osx man page]

UNIMPLEMENTED(2)					     Linux Programmer's Manual						  UNIMPLEMENTED(2)

NAME
afs_syscall, break, fattach, fdetach, ftime, getmsg, getpmsg, gtty, isastream, lock, madvise1, mpx, prof, profil, putmsg, putpmsg, secu- rity, stty, tuxcall, ulimit, vserver - unimplemented system calls SYNOPSIS
Unimplemented system calls. DESCRIPTION
These system calls are not implemented in the Linux kernel. RETURN VALUE
These system calls always return -1 and set errno to ENOSYS. NOTES
Note that ftime(3), profil(3), and ulimit(3) are implemented as library functions. Some system calls, like alloc_hugepages(2), free_hugepages(2), ioperm(2), iopl(2), and vm86(2) exist only on certain architectures. Some system calls, like ipc(2), create_module(2), init_module(2), and delete_module(2) exist only when the Linux kernel was built with sup- port for them. SEE ALSO
syscalls(2) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 UNIMPLEMENTED(2)

Check Out this Related Man Page

UNIMPLEMENTED(2)                                             Linux Programmer's Manual                                            UNIMPLEMENTED(2)

NAME
afs_syscall, break, fattach, fdetach, ftime, getmsg, getpmsg, gtty, isastream, lock, madvise1, mpx, prof, profil, putmsg, putpmsg, secu- rity, stty, tuxcall, ulimit, vserver - unimplemented system calls SYNOPSIS
Unimplemented system calls. DESCRIPTION
These system calls are not implemented in the Linux kernel. RETURN VALUE
These system calls always return -1 and set errno to ENOSYS. NOTES
Note that ftime(3), profil(3), and ulimit(3) are implemented as library functions. Some system calls, like alloc_hugepages(2), free_hugepages(2), ioperm(2), iopl(2), and vm86(2) exist only on certain architectures. Some system calls, like ipc(2), create_module(2), init_module(2), and delete_module(2) exist only when the Linux kernel was built with sup- port for them. SEE ALSO
syscalls(2) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 UNIMPLEMENTED(2)
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Lock for this script

Hi, My requirement is to service a process and below is the script which i wrote for that and works fine, I have kept it in a crontab and running this everyminute, how do I lock this if its already running and i dont want to open if its running and not completed yet. The crontab need to run... (4 Replies)
Discussion started by: strunz
4 Replies

2. Programming

segmnetation fault by pthread_mutex_unlock on a successfully locked mutex

Hi Everyone I have this quite simple "tread" function void* row_calc(void *input) { struct thread_arg* th_arg; th_arg=(struct thread_arg *) input; int start,width,end,seg,k,l,tmp; start=th_arg->start; width=th_arg->width; end=start+width-1; seg=th_arg->seg; ... (2 Replies)
Discussion started by: jonas.gabriel
2 Replies

3. Programming

API C MYSQL vs lock table ???

(sorry for my english) Hi, i have an app that uses MYSQL API C.. i trying do a timeout until the table is locked by an other thread , in the docs of Mysql i can see that MYSQL_OPT_READ_TIMEOUT is not implemented for linux ¿?¿?.. any body knows a way to do a timeout until the table is locked by... (0 Replies)
Discussion started by: JEscola
0 Replies

4. Shell Programming and Scripting

Folder Lock in Unix

I am a new user of linux. I have 2 Queries 1) I recently started working with shell script, and now i plan to make a folder lock using a shell script. I have ubuntu 8.04 installed on my system. 2) When i searched on this forum all i got was mini-httpd, and apache2-utils package, but they... (2 Replies)
Discussion started by: tsunami
2 Replies

5. SCO

lp: cannot lock /usr/spool/lpd/printer1/.seq

Hi. I'm receive thats error on my PC. lp: cannot lock /usr/spool/lpd/printer1/.seq This PC is a Windows pc running lpd on port 515. That its means? Thanks. PD. Sorry for my english! (0 Replies)
Discussion started by: sebpes
0 Replies

6. OS X (Apple)

Sudden LOCK'd volume syndrome

I have depended heavily on an external hd I named 300FWR. It has my backed-up apps, docs, and hours of captured video from digital video recordings of my wife and kids. 90% of the contents are indispensable to me. Recently, the 300FWR volume popped up on my desktop with a Lock icon on the Drive... (1 Reply)
Discussion started by: ejmjensen
1 Replies

7. SCO

Problem finding what is using a serial port

How can I determine what process is currently using a serial port? A good bit of google searching hasn't turned up anything useful, but it seems like there has to be a way to do this without too much difficulty. When I first started looking into this problem, I assumed that when a port was in... (2 Replies)
Discussion started by: jdsnatl
2 Replies

8. UNIX for Beginners Questions & Answers

Perl script with lock to execute only once in a day

Hi, I am new to perl and have a script to which i want to ensure that no matter how many ever times i execute the script it should execute only once per day. Cronjob is not a safe method as I want to built in capability inside the script. (1 Reply)
Discussion started by: ctrld
1 Replies