zpmod  b19981f
High-performance Zsh module for script optimization and filesystem helpers
readarray.c File Reference

readarray builtin: read records from stdin or fd into an array. More...

#include "zpmod.mdh"
#include "zpmod.pro"
#include "zpmod_vendor_shims.h"
#include "zpmod_emoji.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for readarray.c:

Go to the source code of this file.

Functions

static void readarray_usage (void)
 
int bin_readarray (char *nam, char **argv, Options ops, int func)
 readarray builtin entrypoint More...
 

Detailed Description

readarray builtin: read records from stdin or fd into an array.

Definition in file readarray.c.

Function Documentation

◆ bin_readarray()

int bin_readarray ( char *  nam,
char **  argv,
Options  ops,
int  func 
)

readarray builtin entrypoint

Definition at line 26 of file readarray.c.

References setaparam(), setsparam(), unsetparam(), zalloc(), zfree(), zrealloc(), zsfree(), ztrdup(), and zwarnnam().

Here is the call graph for this function:

◆ readarray_usage()

static void readarray_usage ( void  )
static

Definition at line 16 of file readarray.c.

References zp_icon().

Here is the call graph for this function: