I'm not sure what you mean specifically by an IPC file.  *Exactly* what
kind?

cp works for me for fifos, which are character device files based on Unix
pipes.    I would bet that Unix domain sockets work just the same.
If you are using some other kind of IPC that uses a device file (message
queues, shared memory, etc), then you don't get a character device and you
will have to use APIs specific to that mechanism.

cd /tmp
mkfifo my.fifo
cat /etc/profile > my.fifo  &
cp my.fifo  junk.txt
diff /etc/profile junk.txt

Here's a tip for using IBM-MAIN:  post a complete test example of what you
are doing, not just little bits devoid of context.

On Thu, Sep 27, 2018 at 4:40 AM Jake Anderson <[email protected]>
wrote:

> Hi
>
> Cross posted
>
> Good morning
>
> Could someone please help to understand.
>
> What's the syntax to copy a IPC file to another directory ? I don't see it
> in a manual. The normal CP or MV doesn't work
>
> All I get is FSUM6258
>
>
>
> Regards
> Jake
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to