11-26-2011
I have seen that as well and that sounds about right, deleting autosaved mails that you are writing, once you have sent them. However I think that sometimes there may be a delay between sending it and the message appearing.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to be able to delete the first n lines of a file from inside of a ksh script. I am not sure how to achieve this or if it is possible. Could someone please help. Thanks in advance. (5 Replies)
Discussion started by: rehoboth
5 Replies
2. Shell Programming and Scripting
Shell Program which deletes all lines containing the word "UNIX" in the files supplied as argument..please help me to do this task :) (4 Replies)
Discussion started by: abhiseknitd
4 Replies
3. UNIX for Advanced & Expert Users
Hi
I have a strange problem. Sometimes when I execute the below command something wierd happens.
rsync -avz -e ssh travegre@travegre.net: ../travegre.net/
the folder named "hm" that is held in travegre.net and is coppied along with all the other folders and data at travegre.net, gets... (1 Reply)
Discussion started by: travegre
1 Replies
4. UNIX for Advanced & Expert Users
Hi
I have a strange problem. Sometimes when I execute the below command something wierd happens.
rsync -avz -e ssh travegre@travegre.net: ../travegre.net/
the folder named "hm" that is held in travegre.net and is coppied along with all the other folders and data at travegre.net, gets deleted... (4 Replies)
Discussion started by: travegre
4 Replies
5. UNIX for Dummies Questions & Answers
I need a shell script that accepts 2 directories names bar1 and bar2
as arguments , and deletes those files in bar2 which are are identical to their name
spaces in bar1.
I tried with this code but it gives error.
if
then
echo " syntax <comnd dir1 dir2 > "
exit
else
... (6 Replies)
Discussion started by: krishnampkkm
6 Replies
6. UNIX for Advanced & Expert Users
Is there a way I can send a text file directly to my Drafts folder? (1 Reply)
Discussion started by: idontknow
1 Replies
7. Shell Programming and Scripting
I want to write a script that deletes files inside the dir. However, the script
should also allow the user to confirm by pressing (d) key before deleting files..
#!/bin/bash
for file in $1/*
do
size='ls -l $file | cut -f 5 -d " "'
name='ls -l $file | cut -f 9 -d " "'
... (1 Reply)
Discussion started by: herberwz
1 Replies
8. UNIX for Advanced & Expert Users
I have a complex multi-stage (media conversion and formatting) build process that leaves orphan target files needing deleting automatically (i.e. by reference only to the build rules themselves, not any parallel config) upon each regular build. Since MAKE cannot do this, what can? Thanks. (4 Replies)
Discussion started by: chrisjj
4 Replies
9. Solaris
i am trying to remove a directory using rm -rf command but its not getting removed.. it doesnt throw any error also.. i am logging as the owner of the dir and removing it but still no luck.. i am able remove a file but not a directory.
i am using solaris 10 (12 Replies)
Discussion started by: chidori
12 Replies
10. OS X (Apple)
It deletes my .bashrc file rarely but predictability after some unknown count of Mac's restarts. Has someone ever faced such behavior?
How do I prevent OS X from modifying .bashrc? What ownership/permission should I set up to not let it happen?
OS X Lion. (6 Replies)
Discussion started by: scrutinizerix
6 Replies
putctl1(9r) putctl1(9r)
NAME
putctl1 - Puts a control message with a 1-byte parameter on a queue
SYNOPSIS
#include <sys/stream.h>
int putctl1(
queue_t *queue_pointer,
int type,
int parameter );
ARGUMENTS
Specifies a pointer to the queue to which the message is to be sent. The typedef queue_t is an alternate name for struct queue_entry *.
Specifies a message type (must be control and not a data type). Specifies a 1-byte parameter.
DESCRIPTION
Like the putctl interface, the putctl1 interface tests the type argument to make sure a data type was not specified. It then attempts to
allocate a message block. In addition, the putctl1 interface can send a 1-byte parameter in the parameter argument. You can use the parame-
ter for any purpose. For example, you can use this argument to specify how long the delay will be when sending an M_DELAY message. The
putctl1 interface fails if a message block cannot be allocated or if the type argument is M_DELAY, M_PROTO, or M_PCPROTO.
NOTES
The putctl1 interface calls the putctl_comm interface, which actually performs the work of sending the control message.
RETURN VALUES
Upon successful completion, putctl1 returns the value 1. The putctl1 interface fails if a message block cannot be allocated or if the type
argument is M_DELAY, M_PROTO, or M_PCPROTO.
SEE ALSO
Kernel Interfaces: allocb(9r), datamsg(9r), putctl(9r)
Programmer's Guide: STREAMS
putctl1(9r)