plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

sdb_remove.c (97B)


      1 #include "std.h"
      2 
      3 void
      4 sdb_remove(Sdb *db)
      5 {
      6 	if (!db->n)
      7 		return;
      8 	Vecdel(&db->r, db->n--);
      9 }
     10