mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Add mkfifo2() and pipe2() which are just like mkfifo() and pipe(), but allow control of the size of the underlying, in-memory circular buffer
This commit is contained in:
+2
-1
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* include/unistd.h
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007-2009, 2013-2014, 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -174,6 +174,7 @@ FAR void *sbrk(intptr_t incr);
|
||||
|
||||
/* Special devices */
|
||||
|
||||
int pipe2(int fd[2], size_t bufsize); /* NuttX only */
|
||||
int pipe(int fd[2]);
|
||||
|
||||
/* Working directory operations */
|
||||
|
||||
Reference in New Issue
Block a user