File: buddy_add

package info (click to toggle)
pork 0.99.8.1-2.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,936 kB
  • sloc: ansic: 35,011; sh: 3,379; perl: 931; makefile: 549
file content (13 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
SYNTAX: PORK::buddy_add(user, group, [account])
	Adds a user to an account's buddy list as a member of the specified group. The group must already exist.

INPUT PARAMETERS
	user   : The screen name of the user to be added.
	group  : The group to add the screen name to.
	account: (Optional) The account whose buddy list will be affected. If this parameter is omitted, the current account is assumed.

RETURN VALUE
	Returns 0 on success, -1 on failure.

SEE ALSO
	buddy add