-/* $OpenBSD: bell.c,v 1.5 2019/07/17 18:18:37 lum Exp $ */
+/* $OpenBSD: bell.c,v 1.6 2021/05/06 12:44:21 lum Exp $ */
/*
* This file is in the public domain.
dovisiblebell = 0;
}
+int
+dobeep_num(const char *msg, int n)
+{
+ ewprintf("%s %d", msg, n);
+ dobeep();
+ return (FALSE);
+}
+
int
dobeep_msgs(const char *msg, const char *s)
{
-/* $OpenBSD: def.h,v 1.174 2021/05/03 12:18:43 lum Exp $ */
+/* $OpenBSD: def.h,v 1.175 2021/05/06 12:44:21 lum Exp $ */
/* This file is in the public domain. */
void bellinit(void);
int toggleaudiblebell(int, int);
int togglevisiblebell(int, int);
+int dobeep_num(const char *, int);
int dobeep_msgs(const char *, const char *);
int dobeep_msg(const char *);
void dobeep(void);