---
name: "ACE_FIFO"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_FIFO"
---

# ACE\_FIFO(3)

Abstract base class for UNIX FIFOs

## NAME

ACE\_FIFO -  Abstract base class for UNIX FIFOs

## SYNOPSIS

```
#include <ace/FIFO.h>
class ACE_FIFO : public ACE_IPC_SAP
{
  public:
    int open (
        const ASYS_TCHAR *rendezvous,
        int flags,
        int perms,
        LPSECURITY_ATTRIBUTES sa = 0
        );
    int close (void);
    int remove (void);
    int get_local_addr (const ASYS_TCHAR *&rendezvous) const;
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
  protected:
    ACE_FIFO (void);
    ACE_FIFO (
        const ASYS_TCHAR *rendezvous,
        int flags,
        int perms,
        LPSECURITY_ATTRIBUTES sa = 0
        );
  private:
    ASYS_TCHAR rendezvous_[MAXPATHLEN + 1];
};
```

## DESCRIPTION

UNIX FIFOs are also known Named Pipes, which are totally unrelated to Win32 Named Pipes.  If you want to use a local IPC mechanism that will be portable to both UNIX and Win32, take a look at the ACE\_SPIPE\_\* classes.

## Make these protected to ensure that the class is abstract.""

```
ACE_FIFO (void);
```

Default constructor.

```
ACE_FIFO (
    const ASYS_TCHAR *rendezvous,
    int flags,
    int perms,
    LPSECURITY_ATTRIBUTES sa = 0
    );
```

Open up the named pipe on the rendezvous in accordance with the flags.

## AUTHOR

Doug Schmidt

## LIBRARY

ace
